![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
CSS styles in Flash Player are additive; that is, when styles are nested, each level of nesting can contribute additional style information, which is added together to result in the final formatting.
For example, here is some XML data assigned to a text field:
<sectionHeading>This is a section</sectionHeading> <mainBody>This is some main body text, with one <emphasized>emphatic</emphasized> word.</mainBody>
For the word emphatic in the above text, the emphasized
style is nested within the mainBody
style. The mainBody
style contributes color, font-size, and decoration rules. The emphasized
style adds a font-weight rule to these rules. The word emphatic will be formatted using a combination of the rules specified by mainBody
and emphasized
.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |