Monthly Archives: May 2008

Displaying RadioButton controls using the Repeater in Flex (redux)

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)

Setting a border on specific sides of a NumericStepper control 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

Setting the icon color on a disabled 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