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.

After you issue the MovieClipLoader.loadClip() comm<strong>and</strong>, the following events take<br />

place in the order listed:<br />

■ When the first bytes of the downloaded file have been written to the hard disk, the<br />

MovieClipLoader.onLoadStart listener is invoked.<br />

■ If you have implemented the MovieClipLoader.onLoadProgress listener, it is invoked<br />

during the loading process.<br />

Note: You can call MovieClipLoader.getProgress() at any time during the load<br />

process.<br />

■ When the entire downloaded file has been written to the hard disk, the<br />

MovieClipLoader.onLoadComplete listener is invoked.<br />

■ When the downloaded file's first frame actions have been executed, the<br />

MovieClipLoader.onLoadInit listener is invoked.<br />

When MovieClipLoader.onLoadInit has been invoked, you can set properties, use<br />

methods, <strong>and</strong> otherwise interact with the loaded movie.<br />

If the file fails to load completely, the MovieClipLoader.onLoadError listener is invoked.<br />

Note: Some browsers' caching of files locally may interfere with MovieClipLoader events.<br />

While developing SWF files, clear your browser's cache before testing MovieClipLoader<br />

events.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 7<br />

Property summary<br />

Modifiers Property Description<br />

checkPolicyFile:Bool<br />

ean<br />

Properties inherited from class Object<br />

Specifies whether Flash Player should attempt to<br />

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

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

object itself.<br />

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

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

(Object.__resolve property)<br />

MovieClipLoader 955

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

Saved successfully!

Ooh no, something went wrong!