User Guide
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