Flash Player 7.
This 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:
Note: You can call MovieClipLoader.getProgress() at any time during the load process.
After MovieClipLoader.onLoadInit has been invoked, you can set properties, use methods, and otherwise interact with the loaded movie.
If the file fails to load completely, the MovieClipLoader.onLoadError listener is invoked.
| Method | Description |
|---|---|
MovieClipLoader.addListener() |
Registers an object to receive notification when a MovieClipLoader event handler is invoked. |
MovieClipLoader.getProgress() |
Returns the number of bytes loaded and total number of bytes for a file that is being loaded using |
MovieClipLoader.loadClip() |
Loads a SWF or JPEG file into a movie clip in Flash Player while the original movie is playing. |
MovieClipLoader.removeListener() |
Deletes an object that was registered using |
MovieClipLoader.unloadClip() |
Removes a movie clip that was loaded by means of |
| Listener | Description |
|---|---|
MovieClipLoader.onLoadComplete |
Invoked when a file loaded with |
MovieClipLoader.onLoadError |
Invoked when a file loaded with |
MovieClipLoader.onLoadInit |
Invoked when the actions on the first frame of the loaded clip have been executed. |
MovieClipLoader.onLoadProgress |
Invoked every time the loading content is written to disk during the loading process. |
MovieClipLoader.onLoadStart |
Invoked when a call to |
Flash Player 7.
new MovieClipLoader() : MovieClipLoader
None.
A reference to a MovieClipLoader object.
Constructor; creates a MovieClipLoader object that you can use to implement a number of listeners to respond to events while a SWF or JPEG file is downloading.
See MovieClipLoader.loadClip().
MovieClipLoader.addListener()
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/mx2004/main_7_2/00001574.html
Comments
recoveredfromflashMX2004 said on Aug 4, 2004 at 3:33 PM : Vrvy said on Oct 16, 2004 at 12:03 PM : roland212 said on May 2, 2005 at 2:44 AM : Pascal323 said on Aug 12, 2005 at 12:55 PM :