EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 552

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...
552 Chapter 12: ActionScript Dictionary
MovieClipLoader.onLoadProgress()
Availability
Flash Player 7.
Usage
listenerObject.onLoadProgress() =
function(target_mc [, loadedBytes [, totalBytes ] ] ) {
// 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.
loadedBytes The number of bytes that had been loaded when the listener was invoked.
totalBytes The total number of bytes in the file being loaded.
Returns
Nothing.
Description
Listener; invoked every time the loading content is written to disk during the loading process
(that is, between
MovieClipLoader.onLoadStart() and
MovieClipLoader.onLoadComplete()). You can use this method to display information about
the progress of the download, using the
loadedBytes and totalBytes parameters.
Example
See MovieClipLoader.loadClip().
See also
MovieClipLoader.getProgress()
MovieClipLoader.onLoadStart()
Availability
Flash Player 7.
Usage
listenerObject.onLoadStart() = 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.

Table of Contents

Related product manuals