Tag Archives: disabled

Changing the background color of a disabled Spark TextArea control in Flex 4

In a previous example, “Changing the background color of a disabled TextArea control in Flex”, we saw how you can change the background color of a disabled MX TextArea control by setting the use the backgroundDisabledColor style.

The following example shows how you can change the background color of a disabled Spark TextArea control in Flex 4 by setting the contentBackgroundColor style in the disabled skin state.

Continue reading Changing the background color of a disabled Spark TextArea control in Flex 4

Setting the disabled alpha on a Spark TextInput control in Flex 4

In a previous example, “Styling the disabled state on a Spark TextInput control in Flex 4”, we saw how you could style the disabled state on a Spark TextInput control in Flex 4 using CSS.

The following example shows how you can set the alpha of the disabled state of a Spark TextInput control in Flex 4 by creating a custom Spark TextInput skin and setting the alpha property on the disabled skin state.

Continue reading Setting the disabled alpha on a Spark TextInput control in Flex 4