Lingo Dictionary > O-R > rewind()

 

rewind()

Syntax

sound(channelNum).rewind()
rewind(sound(channelNum))

Description

Function; interrupts the playback of the current sound in sound channel channelNum and restarts it at its startTime. If the sound is paused, it remains paused, with the currentTime set to the startTime.

Example

This restarts playback of the sound cast member playing in sound channel 1 from the beginning.

sound(1).rewind()

See also

pause(), play() (sound), playNext(), queue(), stop() (sound)