User Guide

ProgressBar class 999
6. Customize the symbol as desired.
For example, flip the track horizontally.
7. Repeat steps 5-6 for all symbols you want to customize.
8. Click the Back button to return to the main timeline.
9. Drag a ProgressBar component to the Stage.
To view the skins modified in this example, use ActionScript to set the
indeterminate
property to
true.
10. Select Control > Test Movie.
ProgressBar class
Inheritance MovieClip > UIObject class > ProgressBar
ActionScript Class Name mx.controls.ProgressBar
Setting a property of the ProgressBar class with ActionScript overrides the parameter of the
same name set in the Property inspector or Component inspector.
Each component class has a
version property, which is a class property. Class properties are
available only on the class itself. The
version property returns a string that indicates the
version of the component. To access this property, use the following code:
trace(mx.controls.ProgressBar.version);
Method summary for the ProgressBar class
The following table lists the method of the ProgressBar class.
NOTE
The code trace(myProgressBarInstance.version); returns undefined.
Method Description
ProgressBar.setProgress() Sets the state of the progress bar to reflect the amount of
progress made when the progress bar is in manual mode