The string "URLNotFound" is returned if neither the
MovieClipLoader.onLoadComplete()
the file is not found, these listeners are not called.
The string "LoadNeverCompleted" is returned if
but
MovieClipLoader.onLoadComplete()
MovieClipLoader.onLoadStart()
overload, server crash, and so on,
Example
See MovieClipLoader.loadClip().
MovieClipLoader.onLoadInit()
Availability
Flash Player 7.
Usage
listenerObject.onLoadInit() = function(target_mc) {
// your statements here
}
Parameters
listenerObject
The movie clip loaded by a
target_mc
Returns
Nothing.
Description
Listener; invoked when the actions on the first frame of the loaded clip have been executed. After
this listener has been invoked, you can set properties, use methods, and otherwise interact with
the loaded movie.
Example
See MovieClipLoader.loadClip().
See also
MovieClipLoader.onLoadStart()
listener has been called. For example, if a server is down or
is called but the download is interrupted due to server
MovieClipLoader.onLoadComplete()
A listener object that was added using MovieClipLoader.addListener().
MovieClipLoader.loadClip()
MovieClipLoader.onLoadStart()
MovieClipLoader.onLoadStart()
was not called. For example, if
MovieClipLoader.onLoadInit()
or
was called
will not be called.
method.
551
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?
Questions and answers