Sound - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

The
MovieClip.getNextHighestDepth()
7 or later. If your SWF file includes a version 2 component, use the version 2 components
DepthManager class instead of the
See also
getLocal (SharedObject.getLocal method)

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
of the Sound class.
Availability: ActionScript 1.0; Flash Player 5
Property summary
Modifiers
Property
duration:Number
[read-only]
id3:Object
only]
position:Number
[read-only]
Properties inherited from class Object
constructor (Object.constructor
property),
prototype (Object.prototype
(Object.__resolve property)
1094 ActionScript classes
method used in this example requires Flash Player
MovieClip.getNextHighestDepth()
to create a Sound object before calling the methods
new Sound
Description
The duration of a sound, in milliseconds.
[read-
Provides access to the metadata that is part of an
MP3 file.
The number of milliseconds a sound has been playing.
property),
property),
,
onStatus (System.onStatus handler)
__proto__ (Object.__proto__
__resolve
method.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF