EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 551

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MovieClipLoader.onLoadInit() 551
The string “URLNotFound” is returned if neither the MovieClipLoader.onLoadStart() or
MovieClipLoader.onLoadComplete() listener has been called. For example, if a server is down or
the file is not found, these listeners are not called.
The string “LoadNeverCompleted” is returned if
MovieClipLoader.onLoadStart() was called
but
MovieClipLoader.onLoadComplete() was not called. For example, if
MovieClipLoader.onLoadStart() is called but the download is interrupted due to server
overload, server crash, and so on,
MovieClipLoader.onLoadComplete() will not be called.
Example
See MovieClipLoader.loadClip().
MovieClipLoader.onLoadInit()
Availability
Flash Player 7.
Usage
listenerObject.onLoadInit() = function(target_mc) {
// your statements here
}
Parameters
listenerObject
A listener object that was added using MovieClipLoader.addListener().
target_mc The movie clip loaded by a MovieClipLoader.loadClip() method.
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()

Table of Contents

Related product manuals