currentLoopState
Usage
member(whichCastmember).model(whichModel).keyframePlayer.\
currentLoopState
member(whichCastmember).model(whichModel).bonesPlayer.\
currentLoopState
Description
3D
keyframePlayer
executed by the model repeats continuously (
motion in the modifier's playlist (
The default setting for this property is the value of the looped parameter of the
that initiated playback of the motion, or the value of the
motion to the modifier's playlist. Changing the
value of the
#looped
Example
This statement causes the motion that is being executed by the model named Monster to repeat
continuously.
member("NewAlien").model("Monster").keyframePlayer.\
currentLoopState = TRUE
See also
loop
(3D),
play()
currentSpriteNum
Usage
-- Lingo syntax
_player.currentSpriteNum
// JavaScript syntax
_player.currentSpriteNum;
Description
Player property; indicates the channel number of the sprite whose script is currently running.
Read-only.
This property is valid in behaviors and cast member scripts. When used in frame scripts or movie
scripts, the
currentSpriteNum
The
currentSpriteNum
Note: This property was more useful during transitions from older movies to Director 6, when
behaviors were introduced. It allowed some behavior-like functionality without having to completely
rewrite script. It is not necessary when authoring with behaviors and is therefore less useful than in
the past.
and
modifier property; indicates whether the motion being
bonesPlayer
).
FALSE
property of the motion's entry in the modifier's playlist.
(3D),
queue()
(3D),
property's value is 0.
property is similar to the Sprite object's
) or plays to the end and is replaced by the next
TRUE
command that added the
queue()
currentLoopState
playlist
spriteNum
command
play()
property also changes the
property.
currentSpriteNum
715
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