Tag Archives: contentBackgroundColor

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 content background color on an MX Accordion container in Flex 4

In a previous example, “Setting the base color on an MX Accordion container in Flex 4”, we saw how you could set the base color on an MX Accordion container in Flex 4 by setting the baseColor style.

The following example shows how you can set the content background color on an MX Accordion container in Flex 4 by setting the contentBackgroundColor style.

Continue reading Setting the content background color on an MX Accordion container in Flex 4

Setting the background fill color on a Halo TextArea control in Flex 4

The following example shows how you can set the background fill color on the Halo TextArea control (with default Spark skin) in Flex 4 by setting the contentBackgroundColor style (in Flex 3 and earlier this was done by setting the backgroundColor style).

Full code after the jump.

Continue reading Setting the background fill color on a Halo TextArea control in Flex 4