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 (
), or
true
wait until
is called (
). The default value is
.
Loader.load()
false
true
Example
The following code sets up the loader component to wait for a
call:
Loader.load()
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
event handler that shows the progress of the load. The listener
progress
is registered with the
instance.
my_ldr
Loader.bytesLoaded
821
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers