470
pause member
Syntax
member(whichCastMember). pause()
pause member ("
whichCastMember
")
Description
Command; pauses the streaming of a Shockwave Audio (SWA) streaming cast member. When the
sound is paused, the
state
member property equals 4. The portion of the sound that has already
been downloaded and is available will continue to play until the cache runs out.
Example
This handler could be used for a Play or Pause button. If the sound is playing, the handler pauses
the sound; otherwise, the handler plays the sound linked to the SWA streaming cast member
soundSWA.
on mouseDown
whatState = member("soundSWA").state
if whatState = 3 then
member("soundSWA").pause()
else
member("soundSWA").play()
end if
end
See also
play member
,
stop member
pause sprite
Syntax
sprite(
whichGIFSpriteNumber
). pause()
pause(sprite
whichGIFSpriteNumber
)
Description
Command; causes an animated GIF sprite to pause in its playback and remain on the
current frame.
Example
sprite(1).pause()
See also
resume sprite
,
rewind sprite
percentBuffered
Syntax
sprite(
whichSprite
).percentBuffered
member(
whichCastmember
).percentBuffered
Description
RealMedia sprite or cast member property; returns the percentage of the buffer that has been
filled with the RealMedia stream that is loading from a local file or the server. When this property
reaches 100, the buffer is full, and the RealMedia stream begins to play if the
pausedAtStart
property is not set to
TRUE
. This property is dynamic during playback and cannot be set.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...