playing
Usage
-- Lingo syntax
spriteObjRef.playing
// JavaScript syntax
spriteObjRef.playing;
Description
Flash sprite property; indicates whether a Flash movie is playing (
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:
-- Lingo syntax
on enterFrame
if not sprite(5).playing then
sprite(5).play()
end if
end
// JavaScript syntax
function enterFrame() {
var plg = sprite(5).playing;
if (plg = 0) {
sprite(5).play();
}
}
playing (3D)
Usage
member(whichCastmember).model(whichModel).keyframePlayer.playing
member(whichCastmember).model(whichModel).bonesPlayer.playing
Description
3D
#keyframePlayer
animation playback engine is running (
This property can be tested but not set.
Example
This statement shows that the
named
is currently running.
Alien3
put member("newaliens").model("Alien3").keyframePlayer.playing
-- 1
See also
play()
(3D),
and
#bonesPlayer
#keyframePlayer
pause()
(3D), playlist,
modifier property; indicates whether the modifier's
) or if it's paused (
TRUE
animation playback engine for the model
queue() (3D)
) or stopped (
TRUE
FALSE
).
FALSE
playing (3D)
).
925
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers