EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 452

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
452 Chapter 12: Methods
play() (RealMedia, SWA, Windows Media)
Usage
-- Lingo syntax
windowsMediaObjRef.play()
realMediaObjRef.play()
// JavaScript syntax
windowsMediaObjRef.play();
realMediaObjRef.play();
Description
Windows Media or RealMedia cast member or sprite method; plays the Windows Media or
RealMedia cast member or plays the sprite on the Stage.
For cast members, only audio is rendered if present in the movie. If the cast member is already
playing, calling this method has no effect.
Parameters
None.
Example
The following examples start the streaming process for the stream in sprite 2 and the cast
member Real.
-- Lingo syntax
sprite(2).play()
member("Real").play()
// JavaScript syntax
sprite(2).play();
member("Real").play();
See also
RealMedia, Windows Media