Stopping Sounds Flash

The default behavior of event sounds is for them to play through to the end, regardless of the length of the timeline. However, there’s a trick that can be used to stop any sound, including event sounds. Place another instance of the same sound at the keyframe where the sound should stop and assign this instance as a Stop Sync sound. This Stop setting can be on any layer, it will stop all instances of the sound.

Stopping a single instance of a Stream sound
A single instance of a sound can also be stopped, if it’s sync option is set to Stream. To do this, simply place an empty keyframe in the sound layer at the point where the sound should stop.

Stopping all sounds
You can stop all sounds that are playing in any timeline (including Movie Clips) at any point by doing the following:

  1. If there isn’t already an actions layer on your timeline, add a new layer, label it Actions (or atns), and then select the frame that occurs at the point where you want all sounds to stop. Make this frame into a keyframe.
  2. With the keyframe selected, proceed to the Frame Actions panel by either clicking the Show Actions Icon near the far-right end of the Launcher Bar, or by navigating to Window➪Actions.
  3. From the Basic Actions group in the left side of the Normal Mode (or in Expert Mode, for the Action group) double-click the Stop All Sounds action. The following ActionScript code, stopAllSounds (); appears in the right side of the Frame Actions panel, as shown below.
  4. Return to the Movie Editor, save your work, and then test it with Control➪ Test Movie.

Any sound that’s currently playing stops when the movie reaches a keyframe with a Stop All Sounds action. Note that all of the panels are ganged here into a mega-panel.

Any sound that’s currently playing stops when the movie reaches a keyframe with a Stop All Sounds action. Note that all of the panels are ganged here into a mega-panel



Face Book Twitter Google Plus Instagram Youtube Linkedin Myspace Pinterest Soundcloud Wikipedia

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Flash Topics