S > stopAllSounds |  |

stopAllSounds

stopallsounds, stop all sounds

Availability

Flash Player 3.

Usage

    stopAllSounds()

Parameters

None.

Returns

Nothing.

Description

Action; stops all sounds currently playing in a movie 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 movie.

    on(release) {
    	stopAllSounds();
    }

See also

Sound (object)