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
during 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()
632
Chapter 7: ActionScript for Flash
instead of
MovieClipLoader.loadClip()
listener is invoked.
MovieClipLoader.onLoadProgress
MovieClipLoader.getProgress()
listener is invoked.
listener is invoked.
has been invoked, you can set properties, use methods,
MovieClipLoader.onLoadError
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()
or
loadMovie()
MovieClip.loadMovie()
command, the following events take place in
at any time during the load process.
.
.
CHAPTER 7
ActionScript for Flash
listener, it is invoked
listener is invoked.
.
to load
Need help?
Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?