MovieClipLoader class
Availability
Flash Player 7.
Description
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()
SWF files.
After you issue the
the order listed:
•
When the first bytes of the downloaded file have been written to disk, the
MovieClipLoader.onLoadStart()
•
If you have implemented the
the loading process.
Note: You can call
•
When the entire downloaded file has been written to disk, the
MovieClipLoader.onLoadComplete()
•
After the downloaded file's first frame actions have been executed, the
MovieClipLoader.onLoadInit()
After
MovieClipLoader.onLoadInit()
and otherwise interact with the loaded movie.
If the file fails to load completely, the
Method summary for the MovieClipLoader class
Method
MovieClipLoader.addListener()
MovieClipLoader.getProgress()
MovieClipLoader.loadClip()
MovieClipLoader.removeListener()
MovieClipLoader.unloadClip()
544
Chapter 12: ActionScript Dictionary
instead of
loadMovie()
MovieClipLoader.loadClip()
listener is invoked.
MovieClipLoader.onLoadProgress()
MovieClipLoader.getProgress()
listener is invoked.
has been invoked, you can set properties, use methods,
MovieClipLoader.onLoadError()
or
MovieClip.loadMovie()
command, the following events take place in
at any time during the load process.
listener is invoked.
Description
Registers an object to receive notification when a
MovieClipLoader event handler is invoked.
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.
Deletes an object that was registered using
MovieClipLoader.addListener()
Removes a movie clip that was loaded by means of
MovieClipLoader.loadClip()
to load
listener, it is invoked during
listener is invoked.
.
.
.
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?