User Guide

Loader.bytesLoaded 821
Loader.autoLoad
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
loaderInstance.autoLoad
Description
Property; a Boolean value that indicates whether to automatically load the content (true), or
wait until
Loader.load() is called (false). The default value is true.
Example
The following code sets up the loader component to wait for a Loader.load() call:
loader.autoload = false;
Loader.bytesLoaded
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
loaderInstance.bytesLoaded
Description
Property (read-only); the number of bytes of content that have been loaded. The default value
is 0 until content begins loading.
Example
With a Loader component and a ProgressBar component in the library of the current
document, the following code creates progress bar and loader instances. It then creates a
listener object with a
progress event handler that shows the progress of the load. The listener
is registered with the
my_ldr instance.