Accessibility
 
Home > Products > Flash > Support > ActionScript Dictionary
Flash Icon Macromedia Flash Support Center - ActionScript dictionary
stopAllSounds

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)

To Table of Contents Back to Previous document Forward to next document