August 2013
Beginner to intermediate
368 pages
16h 23m
English
Toggling Sound (AS3)
WE TOOK A quick look at ActionScripted audio in Chapter 8, but that was only an hors d’oeuvre. In that exercise, you loaded sounds from the Library. By loading your audio from external files instead, you can reduce the overall size of your SWF and still have all the programmatic control described earlier. 10 to 1, you’ll find that sound is a common part of your day-to-day Flash workflow, so let’s explore a bit more.

1 One of the most commonly requested audio features in a Flash movie is a mute button, something that gives the user the option to temporarily pause the audio, or silence it while it keeps playing. We’ll build ...
Read now
Unlock full access