Chapter 8. Controlling Sound

Incorporating sound into your Flash movie can enhance the animation and interactivity, and add excitement to even the simplest project by engaging more of the user’s senses. You can play background music to establish the mood of your movie, use narration to accompany a story, or give audible feedback to interactions such as button clicks and drag-and-drop actions. Flash supports several audio formats for import, including WAV, AIF, and MP3, which enables you to work with a broad spectrum of sounds. Flash also gives you the option of dynamically loading external MP3 files, providing an easy way to manage data-heavy sound files.

This chapter explores sound and its associated classes—Sound, SoundChannel, SoundMixer,

Get Flash CS4 Professional Advanced for Windows and Macintosh: Visual QuickPro Guide now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.