User Guide
608 Chapter 6: Components Dictionary
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);
Note: The code
trace(myProgressBarInstance.version); returns undefined.
Method summary for the ProgressBar class
The following table lists the method of the ProgressBar class.
Methods inherited from the UIObject class
The following table lists the methods the ProgressBar class inherits from the UIObject class.
When calling these methods from the ProgressBar object, use the form
ProgressBar.methodName.
Property summary for the ProgressBar class
The following table lists properties of the ProgressBar class.
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
Method Description
UIObject.createClassObject() Creates an object on the specified class.
UIObject.createObject() Creates a subobject on an object.
UIObject.destroyObject() Destroys a component instance.
UIObject.doLater() Calls a function when parameters have been set in the Property and
Component inspectors.
UIObject.getStyle() Gets the style property from the style declaration or object.
UIObject.invalidate() Marks the object so it will be redrawn on the next frame interval.
UIObject.move() Moves the object to the requested position.
UIObject.redraw() Forces validation of the object so it is drawn in the current frame.
UIObject.setSize() Resizes the object to the requested size.
UIObject.setSkin() Sets a skin in the object.
UIObject.setStyle() Sets the style property on the style declaration or object.
Property Description
ProgressBar.conversion A number used to convert the current bytes loaded value and the
total bytes loaded values.
ProgressBar.direction The direction in which the progress bar fills.