User Guide

612 Chapter 6: Components Dictionary
ProgressBar.conversion
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
pBarInstance.conversion
Description
Property; a number that sets a conversion value for the incoming values. It divides the current and
total values, floors them, and displays the converted value in the
label property. The default
value is 1.
Note: The floor is the closest integer value that is less than or equal to the specified value. For
example, the number 4.6 becomes 4.
Example
The following code displays the value of the loading progress in kilobytes:
pBar.conversion = 1024;
ProgressBar.direction
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
pBarInstance.direction
Description
Property; indicates the fill direction for the progress bar. The default value is "right".
Example
The following code makes the progress bar fill from right to left:
pBar.direction = "left";
ProgressBar.indeterminate
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.