MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 926

Director scripting reference
Table of Contents

Advertisement

playlist
Usage
member(whichCastmember).model(whichModel).keyframePlayer.playlist
member(whichCastmember).model(whichModel).bonesPlayer.playlist
Description
3D
#keyframePlayer
each representing a motion queued for playback by the modifier.
Each property list will have the following properties:
is the name of the motion to be played.
#name
indicates whether the motion's playback should be looped.
#loop
is the time, in milliseconds at which playback of the animation should begin.
#startTime
is the time, in milliseconds at which playback of the animation ends or when
#endTime
the motion should be looped. A negative value indicates that the motion should be played
to the end.
is rate of play for the motion that is to be multiplied by the modifier's playRate
#scale
property to determine the actual speed of the motion's playback.
The
property can be tested but not set. Use the
playlist
commands to manipulate it.
removeLast()
Example
The following statement displays the currently queued motions for the model Stroller in the
Message window. There are two currently queued motions: Walk and Jump.
put member("ParkScene").model("Stroller").bonesPlayer.playList
-- [[#name: "Walk", #loop: 1, #startTime: 1500, #endTime: 16000, \
#scale:1.0000, #offset: 0], [#name: "Jump", #loop: 1, \
#startTime: 0, #endTime: 1200, #scale: 1.0000, #offset: 0]]
See also
play()
(3D),
playRate (3D)
Usage
member(whichCastmember).model(whichModel).bonesPlayer.playRate
member(whichCastmember).model(whichModel).keyframePlayer.playRate
Description
3D
#keyframePlayer
of motions being played. This property only partially determines the speed at which motions are
executed by the model.
The playback of a motion by a model is the result of either a
parameter of the
scale
property, and the resulting value is the speed at which the particular motion will be played back.
926
Chapter 14: Properties
and
#bonesPlayer
playNext()
(3D), removeLast(),
and
#bonesPlayer
or
play()
queue()
modifier property; returns a linear list of property lists,
queue()
queue() (3D)
modifier property; scale multiplier for the local time
play()
command is multiplied by the modifier's
,
,
play()
playNext()
or
command. The
queue()
playRate
, and

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents