Lingo Dictionary > O-R > playNext() |
![]() ![]() ![]() |
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(), play() (sound), stop() (sound)
![]() ![]() ![]() |