
483
playlist
Syntax
member(
whichCastmember
).model(
whichModel
).keyframePlayer.playlist
member(
whichCastmember
).model(
whichModel
).bonesPlayer.playlist
Description
3D
#keyframePlayer
and
#bonesPlayer
modifier property; returns a linear list of property lists,
each representing a motion queued for playback by the modifier.
Each property list will have the following properties:
•
#name
is the name of the motion to be played.
•
#loop
indicates whether the motion’s playback should be looped.
•
#startTime
is the time, in milliseconds at which playback of the animation should begin.
•
#endTime
is the time, in milliseconds at which playback of the animation ends or when
the motion should be looped. A negative value indicates that the motion should be played
to the end.
•
#scale
is rate of play for the motion that is to be multiplied by the modifier’s playRate
property to determine the actual speed of the motion’s playback.
The
playlist
property can be tested but not set. Use the
queue()
,
play()
,
playNext()
, and
removeLast()
commands to manipulate it.
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)
,
playNext() (3D)
,
removeLast()
,
queue() (3D)
play member
Syntax
member(
whichCastMember
).play()
play member
whichCastMember
Description
Command; begins playback of a Shockwave Audio (SWA) streaming cast member.
If the sound has not been preloaded by means of the
preLoadBuffer
command, the SWA sound
preloads before playing begins. When the sound is playing, the
state
member property equals 3.
Be aware that Xtra extensions to support this functionality must be included when playing back a
streaming sound.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...