public class Sound
extends Object

The Sound class lets you control sound in a movie. You can add sounds to a movie clip from the library while the movie is playing and control those sounds. If you do not specify a target when you create a new Sound object, you can use the methods to control sound for the whole movie.

You must use the constructor new Sound to create a Sound object before calling the methods of the Sound class.

Availability: ActionScript 1.0; Flash Player 5

Property summary

 duration:Number [read-only]The duration of a sound, in milliseconds.
 id3:Object [read-only]Provides access to the metadata that is part of an MP3 file.
 position:Number [read-only]The number of milliseconds ...

Get ActionScript 2.0 Language Reference for Macromedia® Flash® 8 now with O’Reilly online learning.

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