stopAllSounds()

Availability

Flash Player 3.

Usage

stopAllSounds()

Parameters

None.

Returns

Nothing.

Description

Function; stops all sounds currently playing in a SWF file without stopping the playhead. Sounds set to stream will resume playing as the playhead moves over the frames they are in.

Example

The following code could be applied to a button that, when clicked, stops all sounds in the SWF file.

on(release) {
  stopAllSounds();
}

See also

Sound class