Lingo Dictionary > S > stop() (sound)

 

stop() (sound)

Syntax

sound(channelNum).stop()
stop(sound(channelNum))

Description

Command; stops the currently playing sound in sound channel channelNum. Issuing a play() command begins playing the first sound of those that remain in the queue of the given sound channel.

To see an example of stop() (sound) used in a completed movie, see the Sound Control movie in the Learning\Lingo Examples folder inside the Director application folder.

Example

This statement stops playback of the sound cast member currently playing in sound channel 1.

sound(1).stop()

See also

getPlaylist(), pause(), play() (sound), playNext(), rewind()