-- Lingo syntax soundChannelObjRef.rewind() // JavaScript syntax soundChannelObjRef.rewind();
Sound Channel method; interrupts the playback of the current sound in a sound channel and restarts it at its startTime.
If the sound is paused, it remains paused, with the currentTime set to the startTime.
None.
This statement restarts playback of the sound cast member playing in sound channel 1 from the beginning:
-- Lingo syntax sound(1).rewind() // JavaScript syntax sound(1).rewind();