User Guide
482
The play done command has no effect in a movie that is playing in a window.
Example
This handler returns the playhead to the frame of the movie that was playing before the current
movie started:
on exitFrame
play done
end
See also
play
playing
Syntax
sprite(whichFlashSprite).playing
the playing of sprite whichFlashSprite
Description
Flash sprite property; indicates whether a Flash movie is playing (TRUE) or stopped (FALSE).
This property can be tested but not set.
Example
This frame script checks to see if the Flash movie sprite in channel 5 is playing and, if it is not,
starts the movie:
on enterFrame
if not sprite(5).playing then
sprite(5).play()
end if
end
playing (3D)
Syntax
member(whichCastmember).model(whichModel).keyframePlayer.playing
member(whichCastmember).model(whichModel).bonesPlayer.playing
Description
3D #keyframePlayer and #bonesPlayer modifier property; indicates whether the modifier’s
animation playback engine is running (
TRUE) or if it’s paused (FALSE).
This property can be tested but not set.
Example
This statement shows that the #keyframePlayer animation playback engine for the model
named
Alien3 is currently running.
put member("newaliens").model("Alien3").keyframePlayer.playing
-- 1
See also
play() (3D), pause() (3D), playlist, queue() (3D)