Tag Archives: CSSStyleDeclaration

Creating a stacked Spark Form container in Flex Hero

The following example shows how you can create a stacked Spark Form, FormHeading, and FormItem in Spark Hero by setting a the skinClass to the StackedFormSkin, StackedFormHeadingSkin, and StackedFormItem skins respectively.

Continue reading Creating a stacked Spark Form container in Flex Hero

Styling specific states in a Spark ToggleButton control in Flex 4 (redux)

In a previous example, “Styling specific states in a Spark ToggleButton control in Flex 4”, we saw how to style specific states in a Flex 4 Spark ToggleButton control using CSS by specifying the state name after the control name in the <Script> block.

The following example shows how you can set styles on specific states on a Flex 4 Spark ToggleButton control using ActionScript.

Full code after the jump.

Continue reading Styling specific states in a Spark ToggleButton control in Flex 4 (redux)