ProgressBar.source

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

pBarInstance.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 can be used with contents within an application, including _root.

Example

This example sets the pBar instance to display the loading progress of a loader component with the instance name loader:

pBar.source = loader;

See also

ProgressBar.mode