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
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...