S > stopAllSounds

stopAllSounds

Syntax

stopAllSounds();

Arguments

None.

Description

Action; stops all sounds currently playing in a movie without stopping the playhead. Sounds set to stream will resume playing as the playhead move over the frames they are in.

Player

Flash 3 or later.

Example

The following code could be applied to a button that, when clicked, stops all sounds in the movie:

on(release) {
	stopAllSounds();
}

See also

Sound (object)