![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
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:
MovieClipLoader.onLoadStart()
listener is invoked.MovieClipLoader.onLoadProgress()
listener, it is invoked during the loading process.
Note: You can call MovieClipLoader.getProgress()
at any time during the load process.
MovieClipLoader.onLoadComplete()
listener is invoked.MovieClipLoader.onLoadInit()
listener is invoked.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 |
---|---|
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 |
|
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 |
|
Removes a movie clip that was loaded by means of |
Listener |
Description |
---|---|
Invoked when a file loaded with |
|
Invoked when a file loaded with |
|
Invoked when the actions on the first frame of the loaded clip have been executed. |
|
Invoked every time the loading content is written to disk during the loading process. |
|
Invoked when a call to |
Flash Player 7.
new MovieClipLoader()
None.
Nothing.
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()
.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |