User Guide

1094 ActionScript classes
The MovieClip.getNextHighestDepth() method used in this example requires Flash Player
7 or later. If your SWF file includes a version 2 component, use the version 2 components
DepthManager class instead of the
MovieClip.getNextHighestDepth() method.
See also
getLocal (SharedObject.getLocal method), onStatus (System.onStatus handler)
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
Properties inherited from class Object
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 a sound has been playing.
constructor (Object.constructor property), __proto__ (Object.__proto__
property), prototype (Object.prototype property), __resolve
(Object.__resolve property)