The following example shows you how you can use an embedded font with the Flex Accordion container by setting the headerStyleName style.
Full code after the jump.
Continue reading ‘Using embedded fonts with the Accordion container in Flex’
The following example shows you how you can use an embedded font with the Flex Accordion container by setting the headerStyleName style.
Full code after the jump.
Continue reading ‘Using embedded fonts with the Accordion container in Flex’
The following examples show how you can set the text leading (additional vertical space between lines of text) on a Flex Text control by setting the leading style using MXML, CSS or ActionScript.
Full code after the jump.
Continue reading ‘Setting the leading on a Text control in Flex’
The following examples show how you can prevent a user from clicking a Flex Accordion container’s header by creating a custom Accordion header renderer.
Full code after the jump.
Continue reading ‘Preventing users from clicking on an Accordion container’s header in Flex’
The following example shows how you can display a series of CheckBox controls using the Flex Repeater with an Array data provider.
Full code after the jump.
Continue reading ‘Displaying CheckBox controls using the Repeater in Flex’
In a previous example, “Displaying RadioButton controls using the Repeater in Flex”, we saw how you could use a Repeater in MXML to display a series of Flex RadioButton controls based on a data provider.
The following example shows how you can create a Repeater using ActionScript to accomplish the same thing.
Full code after the jump.
Continue reading ‘Displaying RadioButton controls using the Repeater in Flex (redux)’
The following example shows how you can display a series of RadioButtons using the Flex Repeater with an Array data provider.
Full code after the jump.
Continue reading ‘Displaying RadioButton controls using the Repeater in Flex’
The following example shows how you can apply a border to specific sides (top, bottom, left, right) of a Flex NumericStepper control by setting the borderStyle and borderSides styles.
The borderSides style is only supported when the borderStyle style is set to “solid”.
Full code after the jump.
Continue reading ‘Setting a border on specific sides of a NumericStepper control in Flex’
The following example shows how you can set the border thickness on a Flex NumericStepper control by setting the borderThickness style.
The borderThickness style is only supported when the borderStyle style is set to “solid”.
Full code after the jump.
Continue reading ‘Setting the border thickness on a NumericStepper control in Flex’
The following example shows how you can set the border color on a Flex NumericStepper control by setting the borderColor style.
Full code after the jump.
Continue reading ‘Setting the border color on a NumericStepper control in Flex’
In a previous example, Setting the text color on a disabled NumericStepper control in Flex, we saw how to set the text color for a disabled Flex NumericStepper control by setting the disabledColor style.
The following example shows how you can set the icon color for a disabled Flex NumericStepper control by setting the disabledIconColor style.
Full code after the jump.
Continue reading ‘Setting the icon color on a disabled NumericStepper control in Flex’
Continuing on the theme of NumericStepper examples, the following example shows how you can set the text color for a disabled Flex NumericStepper control by setting the disabledColor style.
Full code after the jump.
Continue reading ‘Setting the text color on a disabled NumericStepper control in Flex’
In a previous example, “Setting the focus alpha on a NumericStepper control in Flex”, we saw how you could set the alpha of the focus rectangle for a Flex NumericStepper control by setting the focusAlpha style.
The following example shows how you can set the focus thickness of the focus rectangle by setting the focusThickness style on the Flex NumericStepper control.
Full code after the jump.
Continue reading ‘Setting the focus thickness on a NumericStepper control in Flex’
The following example shows how you can set the focus alpha on a Flex NumericStepper control by setting the focusAlpha style.
Full code after the jump.
Continue reading ‘Setting the focus alpha on a NumericStepper control in Flex’
The following example shows how you can set the background color and background alpha for a Flex NumericStepper control by setting the backgroundColor and backgroundAlpha styles.
Full code after the jump.
The following example shows how you can change the background color of a Flex error tip by setting the borderColor style on the .errorTip CSS selector.
Full code after the jump.
Continue reading ‘Changing the background color of an error tip in Flex’