The following example shows how you can adjust the vertical gap between the track and label in the Flex ProgressBar control by setting the verticalGap style.
Full code after the jump.
Continue reading ‘Setting the vertical gap between the track and label in the ProgressBar control in Flex’
The following example shows how you can set a custom bar skin for a Flex ProgressBar control by setting the barSkin style.
Full code after the jump.
Continue reading ‘Setting the bar skin on a ProgressBar control in Flex’
The following example shows how you can set the border color on a Flex ProgressBar control by setting the borderColor style.
Full code after the jump.
Continue reading ‘Setting the border color on a ProgressBar control in Flex’
The following example shows how you can apply an effect that plays once a Flex ProgressBar control completes (reaches 100%).
Full code after the jump.
Continue reading ‘Setting a complete effect on a ProgressBar control in Flex’
This question came up on the Adobe Flex Forums the other day and I was a little surprised to see that I hadn’t already covered the topic.
The following example shows how you can manually set the progress of a ProgressBar in Flex by using the setProgress() method.
Full code after the jump.
Continue reading ‘Setting the value of a Flex Progress Bar’
The following example shows how you can use an embedded font with the ProgressBar control in Flex.
Full code after the jump.
Continue reading ‘Using an embedded font with the Flex ProgressBar control’
The following example shows you how you can set the track colors on a ProgressBar control in Flex by setting the trackColors style to an array of two values.
Full code after the jump.
Continue reading ‘Setting the track color of a Flex ProgressBar control’
The following example shows how you can pause the indeterminate animation in a Flex ProgressBar control by setting the mode property to “polled” or “manual”. You can resume the animation by setting the mode back to “event”.
Full code after the jump.
Continue reading ‘Pausing the animation in an indeterminate ProgressBar control’
The following example shows how you can change the move interval of an indeterminate progress bar in Flex by setting the indeterminateMoveInterval style.
Full code after the jump.
Continue reading ‘Changing the indeterminate move interval of a Flex ProgressBar control’
The following example shows how you can change whether a ProgressBar control fills from left-to-right or right-to-left by changing the direction property to one of the static constants in the mx.controls.ProgressBarDirection class.
Full code after the jump.
Continue reading ‘Changing a Flex ProgressBar control’s direction’
The following example shows how you can limit the amount of text a user can enter into a TextArea control by using the maxChars property.
Full code after the jump.
Continue reading ‘Limiting the amount of text you can enter into a Flex TextArea control’
The following example shows how you can control the amount of text indenting on a progress bar label.
Full code after the jump.
Continue reading ‘Setting a Flex ProgressBar control’s text indent’
The following example shows how you can change the track height of a ProgressBar control in Flex.
Full code after the jump.
Continue reading ‘Changing the track height of a Flex ProgressBar control’
We’ve looked at this briefly in a previous entry, but here’s a quick look at each of the five options for the ProgressBar.labelPlacement property.
Full code after the jump.
Continue reading ‘Positioning a label within a progress bar using the ProgressBar.labelPlacement property’