User Guide

1020 ProgressBar component
ProgressBar.source
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
progressBarInstance.source
Description
Property; a reference to the instance to be loaded whose loading process will be displayed. The
loading content should emit a
progress event from which the current and total values are
retrieved. This property is used only when
ProgressBar.mode is set to "event" or
"polled". The default value is undefined.
The ProgressBar component can be used with content within an application, including
_root.
Example
The following example loads an image into a loader and marks the progress with a progress
bar. The example sets the
source property to the name of the Loader component (my_ldr) to
associate the content with the progress bar.