03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Parameters<br />

objectName:String - A string that represents the name of the shared object.<br />

Returns<br />

Sound<br />

Object<br />

|<br />

+-Sound<br />

public class Sound<br />

extends Object<br />

The Sound class lets you control sound in a movie. You can add sounds to a movie clip from<br />

the library while the movie is playing <strong>and</strong> control those sounds. If you do not specify a target<br />

when you create a new Sound object, you can use the methods to control sound for the whole<br />

movie.<br />

You must use the constructor new Sound to create a Sound object before calling the methods<br />

of the Sound class.<br />

Property summary<br />

Modifiers Property Description<br />

duration:Number<br />

[read-only]<br />

id3:Object [readonly]<br />

position:Number<br />

[read-only]<br />

Properties inherited from class Object<br />

The duration of a sound, in milliseconds.<br />

Provides access to the metadata that is part of an<br />

MP3 file.<br />

The number of milliseconds a sound has been<br />

playing.<br />

constructor (Object.constructor property), __proto__ (Object.__proto__<br />

property), prototype (Object.prototype property), __resolve<br />

(Object.__resolve property)<br />

Sound 563

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!