You want to customize the appearance of an instance of a UI component.
setStyleProperty( ) method to
colors for each of the style properties or use a
FStyleFormat object to apply changes to more
than one component at a time.
You can change the appearance of all Flash UI components using the
globalStyleFormat object, as detailed in Recipe 11.25. You can also modify the artwork
in the Skins folders in the Library to change all instances of a
particular type of component. However, you can also modify the
appearance of each instance individually using the
setStyleProperty( ) method. The advantage of
this technique is, of course, that you can modify each instance
without affecting all other instances.
Each Flash UI component instance has the following style properties:
Color of the arrow in the scrollbar and combo boxes
Color of the background when the component is active
Color of the background when the component is disabled (dimmed)
Color of the checkbox’s check
Color of the darkened inner shadow for a border
Whether or not to embed fonts for text
The main color of a component
Color of inner focus rectangle
Color of outer focus rectangle
Color of a component’s foreground when in a disabled state
Color of the inner portion of the highlight
Color of the outer portion ...