by Adobe

Adobe logo

Created

15 July 2010

Sounds can be embedded in the SWF at author time or loaded externally at runtime. Although embedded sounds can be manipulated through the timeline properties in the Property inspector, usually embedded and external sounds are controlled dynamically using the Sound object in ActionScript. Sounds can add life to your movies by providing background soundtracks or user-interface feedback.

This sample demonstrates sound loading and playback using a simple set of custom controls. Click the buttons to control the sound or click the numeric stepper to change sounds.