EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 546

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...
546 Chapter 12: ActionScript Dictionary
MovieClipLoader.addListener()
Availability
Flash Player 7.
Usage
my_mcl.addListener(listenerObject)
Parameters
listenerObject
An object that listens for a callback notification from the MovieClipLoader
event handlers.
Returns
Nothing.
Description
Method; registers an object to receive notification when a MovieClipLoader event handler
is invoked.
Example
See MovieClipLoader.loadClip().
See also
MovieClipLoader.onLoadComplete(), MovieClipLoader.onLoadError(),
MovieClipLoader.onLoadInit(), MovieClipLoader.onLoadProgress(),
MovieClipLoader.onLoadStart(), MovieClipLoader.removeListener()
MovieClipLoader.getProgress()
Availability
Flash Player 7.
Usage
my_mcl.getProgress(target_mc)
Parameters
target_mc
A SWF or JPEG file that is loaded using MovieClipLoader.loadClip().
Returns
An object that has two integer properties: bytesLoaded and bytesTotal.
Description
Method; returns the number of bytes loaded and total number of bytes for a file that is being
loaded using MovieClipLoader.loadClip(); for compressed movies, it reflects the number of
compressed bytes. This method lets you explicitly request this information, instead of (or in
addition to) writing a MovieClipLoader.onLoadProgress() listener function.

Table of Contents

Related product manuals