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.

Example

See MovieClipLoader.loadClip().

See also

MovieClipLoader.onLoadProgress()