Using ActionScript 3.0 Components |
|
|
|
| Customizing the UI Components > Setting styles > Understanding style settings | |||
Here are a few key points about using styles:
Inheritance A component child is set to inherit a style from the parent component by design. You cannot set inheritance for styles within ActionScript.
Precedence If a component style is set in more than one way, Flash uses the first style it encounters according to its order of precedence. Flash looks for styles in the following order until a value is found:
undefined.
|
|
|
|