![MACROMEDIA DIRECTOR MX 2004 Reference Download Page 852](http://html1.mh-extra.com/html/macromedia/director-mx-2004/director-mx-2004_reference_687516852.webp)
852
Chapter 14: Properties
•
#connecting
indicates that a connection to the RealMedia or Windows Media stream is
being established.
•
#opened
indicates that a connection to the RealMedia or Windows Media stream has been
established and is open. This is a transitory state that is very quickly followed by
#buffering
.
•
#buffering
indicates that the RealMedia or Windows Media stream is being downloaded into
the playback buffer. When buffering is complete (
percentBuffered
equals 100), the stream
begins to play if the
pausedAtStart
property is
FALSE
. For more information, see
percentBuffered
.
•
#playing
indicates that the RealMedia or Windows Media stream is currently playing.
•
#seeking
indicates that play was interrupted by the
seek
command.
•
#paused
indicates that play has been interrupted, possibly by the user clicking the Stop button
in the RealMedia or Windows Media viewer, or by a script invoking the
pause()
method.
•
#error
indicates that the stream could not be connected, buffered, or played for some reason.
The
lastError
property reports the actual error.
Depending on the cast member’s
state (RealMedia)
value, a different
mediaStatus
property
value is returned. Each
mediaStatus
value corresponds to only one
state
value.
Example
The following examples show that the RealMedia element in sprite 2 and the cast member
Real is playing.
-- Lingo syntax
put(sprite(2).mediaStatus) -- #playing
put(member("Real").mediaStatus) -- #playing
// JavaScript syntax
put(sprite(2).mediaStatus); // #playing
put(member("Real").mediaStatus); // #playing
See also
state (RealMedia)
,
percentBuffered
,
lastError
mediaXtraList
Usage
-- Lingo syntax
_player.mediaXtraList
// JavaScript syntax
_player.mediaXtraList;
Description
Player property; returns a linear list of all media Xtra extensions available to the Director player.
Read-only.
Example
This statement displays in the Message window all media Xtra extensions that are available to the
Director Player.
-- Lingo syntax
put(_player.mediaXtraList)
Summary of Contents for DIRECTOR MX 2004
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...