Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Whenever you have music or any kind of sound in an application, it's a good idea to have a mute button. that way the person viewing the application can mute the sound if they want to. So in this application I have a sound that plays during a banner ad. (Music playing) What we will do is we will add functionality to the button on the bottom right of the screen to mute the sound when you click it. To do that, select the button, open the Code Snippets panel, and expand the Audio and Video section.
In there, just double-click Click to Stop All Sounds. Flash tells me the symbol needs an instance name,and since Flash will do that for me, I will just click OK, and there's the code. So I will test the movie in the Flash Player. (Music playing) And then when I click the button, you can see that the sound stops. So to stop all sounds use the Code Snippets panel and use the Click to Stop All Sounds code snippet.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.