MovieClipLoader

Availability
Flash Player 7.

Description
The MovieClipLoader class lets you implement listener callbacks that provide status information while SWF or JPEG files are being loaded (downloaded) into movie clips. To use MovieClipLoader features, use MovieClipLoader.loadClip() instead of loadMovie() or MovieClip.loadMovie() to load SWF files.

After you issue the MovieClipLoader.loadClip() command, the following events take place in the order listed:

1. When the first bytes of the downloaded file have been written to disk, the MovieClipLoader.onLoadStart() listener is invoked.

2. If you have implemented the MovieClipLoader.onLoadProgress() listener, it is invoked during the loading process.
Note: You can call MovieClipLoader.getProgress() at any time during the load process.

3. When the entire downloaded file has been written to disk, the MovieClipLoader.onLoadComplete() listener is invoked.
After the downloaded file’s first frame actions have been executed, the MovieClipLoader.onLoadInit() listener is invoked.
After MovieClipLoader.onLoadInit()has been invoked, you can set properties, use methods, and otherwise interact with the loaded movie.

4. If the file fails to load completely, the MovieClipLoader.onLoadError() listener is invoked.

Methods
MovieClipLoader  addListener  getProgress  loadClip  removeListener  unloadClip 

Events
onLoadComplete  onLoadError  onLoadInit  onLoadProgress  onLoadStart 

MovieClipLoader