Macromedia - Stop Sounds In Their Tracks In Flash (5/MX)


While you may have taken a great deal of time planning the perfect soundtrack for your Flash movie, your users might want to skip the music and concentrate on your visual content. This is why it's always good practice to allow the user to stop the sounds in the movie. To accomplish this, create a button and open the Actions panel (Object Actions on the Mac). Then, select Stop All Sounds from the Movie Control collection (select Stop All Sounds from the Basic Actions collection in version 50. Next, select your mouse event and save your file. The nice thing about this technique is that it stops all sounds currently playing in a movie without stopping the play head, so your movie continues to play normally.

Go back