MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 448

Director scripting reference
Table of Contents

Advertisement

Optional. Measured in milliseconds from the beginning of the motion. When
endTime
, the motion begins at
FALSE
iteration of the loop begins at
beginning at
startTime
the end.
Optional. Specifies the actual speed of the motion's playback.
playRate
by the model's
#keyframePlayer
the actual speed of the motion's playback.
Optional. Measured in milliseconds from the beginning of the motion. When
offset
, the motion begins at
FALSE
iteration of the loop begins at
beginning at
startTime
with a value of
#synchronized
duration as the currently playing animation is through its own duration.
Example
This command causes the model named Walker to begin playback of the motion named Fall.
After playing this motion, the model will resume playback of any previously playing motion.
sprite(1).member.model("Walker").bonesPlayer.play("Fall", 0, \
0, -1, 1, 0)
This command causes the model named Walker to begin playback of the motion named Kick. If
Walker is currently executing a motion, it is interrupted by Kick and a section of Kick will play in
a continuous loop. The first iteration of the loop will begin 2000 milliseconds from the motion's
beginning. All subsequent iterations of the loop will begin 1000 milliseconds from Kick's
beginning and will end 5000 milliseconds from Kick's beginning. The rate of playback will be
three times the
playRate
sprite(1).member.model("Walker").bonesPlayer.play("Kick", 1, \
1000, 5000, 3, 2000)
See also
queue()
(3D),
removeLast(),
play() (DVD)
Usage
-- Lingo syntax
dvdObjRef.play()
dvdObjRef.play(beginTitle, beginChapter, endTitle, endChapter)
dvdObjRef.play(beginTimeList, endTimeList)
// JavaScript syntax
dvdObjRef.play();
dvdObjRef.play(beginTitle, beginChapter, endTitle, endChapter);
dvdObjRef.play(beginTimeList, beginTimeList);
Description
DVD method; starts or resumes playback.
448
Chapter 12: Methods
and ends at
offset
and ends at
offset
and end at
endTime
or
#bonesPlayer
and ends at
offset
and ends at
offset
and end at
cropEnd
in order to start the motion at the same relative position in its
property of the model's
playNext()
(3D),
playRate
playing (3D)
. When
endTime
looped
with all subsequent repetitions
endTime
. Set
to -1 if you want the motion to play to
endTime
modifier's
playRate
. When
endTime
looped
with all subsequent repetitions
endTime
. You can alternately specify the
modifier.
bonesPlayer
(3D), playlist,
looped
is
, the first
TRUE
is multiplied
playRate
property to determine
looped
is
, the first
TRUE
parameter
offset
pause()
(3D),
is
is

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Director mx 2004

Table of Contents