![MACROMEDIA DIRECTOR MX 2004 Reference Download Page 445](http://html1.mh-extra.com/html/macromedia/director-mx-2004/director-mx-2004_reference_687516445.webp)
pause() (RealMedia, SWA, Windows Media)
445
pause() (3D)
Usage
member(
whichCastmember
).model(
whichModel
).bonesPlayer.pause()
member(
whichCastmember
).model(
whichModel
).keyframePlayer.pause()
Description
3D
#keyframePlayer
and
#bonesPlayer
modifier command; halts the motion currently being
executed by the model. Use the
play()
command to unpause the motion.
When a model’s motion has been paused by using this command, the model’s
bonesPlayer.playing
property will be set to
FALSE
.
Parameters
None.
Example
This statement pauses the current animation of the model named Ant3:
member("PicnicScene").model("Ant3").bonesplayer.pause()
See also
play() (3D)
,
playing (3D)
,
playlist
pause() (RealMedia, SWA, Windows Media)
Usage
-- Lingo syntax
memberOrSpriteObjRef
.pause()
// JavaScript syntax
memberOrSpriteObjRef
.pause();
Description
RealMedia and Windows Media sprite or cast member method; pauses playback of the
media stream.
The
mediaStatus
value becomes
#paused
.
Calling this method while the RealMedia or Windows Media stream is playing does not change
the
currentTime
property and does not clear the media buffer; this allows subsequent
play
commands to resume playback without rebuffering the stream.
Parameters
None.
Example
The following examples pause the playing of sprite 2 or the cast member Real.
-- Lingo syntax
sprite(2).pause()
member("Real").pause()
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...