Customizing the ProgressBar

You can transform a ProgressBar component horizontally and vertically while authoring and at run time. While authoring, select the component on the Stage and use the Free Transform tool or any of the Modify > Transform commands. At run time, use the setSize() method or the appropriate properties of the ProgressBar class such as height, width, scaleX, and scaleY.

The ProgressBar has three skins: a track skin, a bar skin, and an indeterminate skin. It uses 9-slice scaling to scale the assets.

Related topics