Removing the selected highlight from the Spark ButtonBar control in Flex 4 (redux)

In a previous example, “Removing the selected highlight from the Spark ButtonBar control in Flex 4”, we saw how you can remove the selected highlight from the Spark ButtonBar control in Flex 4 by creating a custom ButtonBar and ButtonBarButton skin class.

The following example shows how you can remove the selected highlight from the Spark ButtonBar control in Flex 4 by extending the Spark ButtonBarButton class and creating a custom Spark ButtonBar skin.

Continue reading Removing the selected highlight from the Spark ButtonBar control in Flex 4 (redux)

Styling the text selection format on a Spark TextArea control in Flex 4

The following example shows how you can style the text selection format on a Spark TextArea control in Flex 4 by setting the focusedSelectionFormat property on the TextFlow’s interactionManager to a new SelectionFormat object.

Continue reading Styling the text selection format on a Spark TextArea control in Flex 4

Setting the scale mode on a Spark Image control in Flex Hero

In a previous example, “Setting the fill mode on a Spark Image control in Flex Hero”, we saw how you could set the fill mode on a Spark Image control in Flex Hero by setting the fillMode property to one of the static constants in the mx.graphics.BitmapFillMode class.

The following example shows how you can set the scale mode on a Spark Image control in Flex Hero by setting the fillMode property to “scale” and setting the scaleMode property to one of the static constants in the mx.graphics.BitmapScaleMode class.

Continue reading Setting the scale mode on a Spark Image control in Flex Hero

Setting a bitmap image fill on a Spark Form container in Flex Hero

In a previous example, “Setting a bitmap image fill on a Spark FormHeading control in Flex Hero”, we saw how you could set a bitmap image fill on a Spark FormHeading control in Flex Hero by creating a custom FormHeading skin and creating a repeating BitmapFill object.

The following example shows how you can set a bitmap image fill on a Spark Form control in Flex Hero by creating a custom Spark Form skin and creating a repeating BitmapFill object.

Continue reading Setting a bitmap image fill on a Spark Form container in Flex Hero

Styling the error indicator on a Spark FomItem container in Flex Hero

In a previous example, “Displaying the error indicator on a Spark FormItem container in Flex Hero”, we saw how you could display the error indicator on a Spark FormItem container in Flex Hero by setting the errorString property or using the Flex validators.

The following example shows how you can style the error indicator on a Spark FormItem container in Flex Hero by setting the errorIndicatorSource style.

Continue reading Styling the error indicator on a Spark FomItem container in Flex Hero

Styling the required indicator on a Spark FomItem container in Flex Hero

In a previous example, “Setting the required indicator on a Spark FomItem container in Flex Hero”, we saw how you could set the required indicator on a Spark FormItem container in Flex Hero by setting the required property.

The following example shows how you can set the required indicator icon source on a Spark FormItem container in Flex Hero by setting the requiredIndicatorSource style.

Continue reading Styling the required indicator on a Spark FomItem container in Flex Hero