Director Help

pause() (Sound Channel)

Usage

-- Lingo syntax
soundChannelObjRef.pause()

// JavaScript syntax
soundChannelObjRef.pause();

Description

Sound Channel method; suspends playback of the current sound in a sound channel.

A subsequent play() method will resume playback.

Parameters

None.

Example

This statement pauses playback of the sound cast member playing in sound channel 1:

-- Lingo syntax
sound(1).pause()

// JavaScript syntax
sound(1).pause();

See also

breakLoop(), play() (Sound Channel), playNext() (Sound Channel), queue(), rewind() (Sound Channel), Sound Channel, stop() (Sound Channel)