
pausedAtStart (RealMedia, Windows Media)
917
pausedAtStart (RealMedia, Windows Media)
Usage
-- Lingo syntax
memberOrSpriteObjRef
.pausedAtStart
// JavaScript syntax
memberOrSpriteObjRef
.pausedAtStart;
Description
RealMedia and Windows Media sprite or cast member property; allows you to get or set whether
a RealMedia or Windows Media stream on the Stage automatically begins to play when buffering
is complete (
FALSE
or 0) or remains paused (
TRUE
or 1). Read/write.
This property can be set to an expression that evaluates to
TRUE
or
FALSE
. Integer values other
than 1 or 0 are treated as
TRUE
. The default setting for this property is
FALSE
. You can set this
property to
TRUE
by selecting Paused in the graphical view of the Property inspector.
If this property is set to
FALSE
, the user must click the Play button in the RealMedia or Windows
Media viewer (or a button you have created for this purpose in your movie), or you must call the
play()
method to play the sprite when buffering is complete.
This property only affects score-based playback and does not affect playback in the RealMedia or
Windows Media viewer.
Example
The following examples show that the
pausedAtStart
property of sprite 2 and the cast member
Real is set to
FALSE
, which means that the RealMedia stream will automatically begin to play
once buffering is complete.
-- Lingo syntax
put(sprite(2).pausedAtStart) -- 0
put(member("Real").pausedAtStart) -- 0
// JavaScript syntax
put(sprite(2).pausedAtStart); // 0
put(member("Real").pausedAtStart); // 0
The following examples set the
pausedAtStart
property for sprite 2 and the cast member Real
to
TRUE
, which means the RealMedia stream will not begin to play unless the
play
command
is called.
-- Lingo syntax
sprite(2).pausedAtStart = TRUE
member("Real").pausedAtStart = TRUE
// JavaScript syntax
sprite(2).pausedAtStart = 1;
member("Real").pausedAtStart = 1;
Содержание DIRECTOR MX 2004-DIRECTOR SCRIPTING
Страница 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Страница 48: ...48 Chapter 2 Director Scripting Essentials...
Страница 100: ...100 Chapter 4 Debugging Scripts in Director...
Страница 118: ...118 Chapter 5 Director Core Objects...
Страница 594: ...594 Chapter 12 Methods...
Страница 684: ...684 Chapter 14 Properties See also DVD...
Страница 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Страница 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Страница 889: ...netPresent 889 _player alert Sorry the Network Support Xtras could not be found See also Player...
Страница 1102: ...1102 Chapter 14 Properties...