Creating Interactive Movies > Using basic actions for navigation and interaction > Stopping all sounds

Stopping all sounds

To stop the audio track without interrupting the main movie Timeline, you use the Stop All Sounds action. (This action does not just suppress the volume.) The Stop All Sounds action affects all movies playing back in the Flash Player. Streaming sounds will resume playing when the sound's Timeline advances; attached sounds won't resume.

For more information on controlling sounds, see Starting and stopping sounds at keyframes.

To stop all sounds in a movie:

1 Select the frame, button instance, or movie clip instance to which you will assign the action.
2 Choose Window > Actions to display the Actions panel.
3 In the Toolbox list, click the Basic Actions category to display the basic actions, and select the Stop All Sounds action.
Flash enters the following ActionScript in the Actions list:
stopAllSounds ();