Working with sound

ActionScript is made for immersive, interactive applications--and one often overlooked element of powerfully immersive applications is sound. You can add sound effects to a video game, audio feedback to an application user interface, or even make a program that analyzes mp3 files loaded over the Internet, with sound at the core of the application.

In this chapter, you'll learn about loading external audio files and working with audio that's embedded in a SWF. You'll learn to control the audio, to create visual representations of the sound information, and to capture sound from a user's microphone.

Contents

Basics of working with sound
Understanding the sound architecture
Loading external sound files
Working with embedded sounds
Working with streaming sound files
Playing sounds
Security considerations when loading and playing sounds
Controlling sound volume and panning
Working with sound metadata
Accessing raw sound data
Capturing sound input
Example: Podcast Player

Flash CS3