Sound
Object
|
+-Sound
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
Modifiers | Property | Description |
---|---|---|
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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.