03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Property summary<br />

Modifiers Property Description<br />

Properties inherited from class Object<br />

Event summary<br />

Constructor summary<br />

checkPolicyFile:Bool<br />

ean<br />

duration:Number<br />

[read-only]<br />

id3:Object [readonly]<br />

position:Number<br />

[read-only]<br />

Specifies whether Flash Player should attempt to<br />

download a cross-domain policy file from the<br />

loaded sound's server before beginning to load the<br />

sound itself.<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 />

Event Description<br />

onID3 = function()<br />

{}<br />

Invoked each time new ID3 data is available for an MP3 file that you<br />

load using Sound.attachSound() or Sound.loadSound().<br />

onLoad =<br />

Invoked automatically when a sound loads.<br />

function(success:Bo<br />

olean) {}<br />

onSoundComplete =<br />

function() {}<br />

Signature Description<br />

Invoked automatically when a sound finishes playing.<br />

Sound([target:Objec Creates a new Sound object for a specified movie clip.<br />

t])<br />

Sound 1109

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

Saved successfully!

Ooh no, something went wrong!