|
Property Summary |
public
| autoHide: Boolean (write)
|
| Sets the autohide mode of the component. If set to true, the progress bar will become invisible when the value has reached the maximum.
|
|
public
| autoHide: Boolean (read)
|
| Gets the autohide mode of the component.
|
|
public
| digits: Number (write)
|
| Determines how many digits of accuracy to display in the display label. i.e. a value of two will show 99.99 %, one will show 99.9 %, zero will show 99 %.
|
|
public
| digits: Number (read)
|
| Gets the amount of accuracy digits displayed in the label.
|
|
public
| displayLabel: Boolean (write)
|
| Sets the visibility of the component label. If true, a label will appear below the bar, showing percent loaded, value, or value / maximum.
|
|
public
| displayLabel: Boolean (read)
|
| Gets the visibility of the component label.
|
|
public
| displayType: String (write)
|
| Determines what type of data will be displayed in the label. "percent" will display the percentage of the value to maximum. "value" simply displays the value. "valueTotal displays value and total, separated by "/".
|
|
public
| displayType: String (read)
|
| Gets the data type displayed in the label.
|
|
public
| maximum: Number (write)
|
| Sets the maximum value that the progress bar can achieve. This would often be 100 for diplaying a percentage value, or could be MovieClip.getBytesTotal(), or Sound.duration.
|
|
public
| maximum: Number (read)
|
| Gets the maximum value that the progress bar can achieve.
|
|
public
| suffix: String (write)
|
| A string added on to the end of the numbers displayed in the label. Used to show what the units specify.
|
|
public
| suffix: String (read)
|
| Gets the string added on to the end of the numbers displayed in the label.
|
|
public
| value: Number (write)
|
| Sets the progress displayed by the bar. For example, if maximum is 100 and value is 50, the progress bar will show 1/2 way done.
|
|
public
| value: Number (read)
|
| Gets the progress displayed by the bar.
|
|
|
|
Constructor |
public
| ProgressBar (
Void)
|
|
|
|
Method Summary |
public static
| create (
target: MovieClip, id: String, depth: Number, initObj: Object
): ProgressBar |
| Static method used to create an instance of a ProgressBar on stage at run time.
|
|
|
|