
484
Example
This handler begins the playback of the cast member Big Band:
on mouseDown
member("Big Band").play()
end
See also
pause member
,
stop member
playNext()
Syntax
sound(
channelNum
).playNext()
playNext(sound(
channelNum
))
Description
This command immediately interrupts playback of the current sound playing in the given sound
channel and begins playing the next queued sound. If no more sounds are queued in the given
channel, the sound simply stops playing.
Example
This statement plays the next queued sound in sound channel 2:
sound(2).playNext()
See also
pause() (sound playback), play() (sound), stop() (sound)
playNext() (3D)
Syntax
member(
whichMember
).model(
whichModel
).bonesPlayer.playNext()
member(
whichMember
).model(
whichModel
).keyframePlayer.playNext()
Description
3D
#keyframePlayer
and
#bonesPlayer
modifier command; initiates playback of the next
motion in the playlist of the model’s
#keyframePlayer
or
#bonesPlayer
modifier. The
currently playing motion, which is the first entry in the playlist, is interrupted and removed from
the playlist.
If motion blending is enabled, and there are two or more motions in the playlist, blending between
the current motion and the next one in the playlist will begin when
playNext()
is called.
Example
This statement interrupts the motion currently being executed by model 1 and initiates playback
of the next motion in the playlist:
member("scene").model[1].bonesPlayer.playnext()
See also
blend (3D)
,
playlist
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...