Using styles in Flex

There are many ways to apply styles in Flex. Some provide more granular control and can be approached programmatically. Others are not as flexible, but can require less computation. In Flex, you can apply styles to controls in several ways.

When applying styles, you must be aware of which properties your theme supports. The default theme in Flex does not support all style properties. For more information, see About supported styles.

Subtopics

External style sheets
Local style definitions
StyleManager class
getStyle() and setStyle() methods
Inline styles

Flex 2.01

Take a survey