| Package | mx.controls |
| Class | public final class ProgressBarMode |
| Inheritance | ProgressBarMode Object |
mode property
of the ProgressBar class.
See also
| Constant | Defined By | ||
|---|---|---|---|
| EVENT : String = "event" [static]
The control specified by the source property must
dispatch progress and completed events.
| ProgressBarMode | ||
| MANUAL : String = "manual" [static]
You manually update the ProgressBar status.
| ProgressBarMode | ||
| POLLED : String = "polled" [static]
The source property must specify an object that
exposes the getBytesLoaded() and
getBytesTotal() methods.
| ProgressBarMode | ||
| EVENT | Constant |
public static const EVENT:String = "event"
The control specified by the source property must
dispatch progress and completed events.
The ProgressBar uses these events to update its status.
| MANUAL | Constant |
public static const MANUAL:String = "manual"
You manually update the ProgressBar status. In this mode, you
specify the maximum and minimum
properties and use the setProgress() method
to specify the status. This mode is often used when the
indeterminate property is true.
| POLLED | Constant |
public static const POLLED:String = "polled"
The source property must specify an object that
exposes the getBytesLoaded() and
getBytesTotal() methods. The ProgressBar control
calls these methods to update its status.