Using ActionScript 2.0 Components |
|
|
|
| Customizing Components > Using styles to customize component color and text > Setting styles | |||
The existence of style properties, their organization within style declarations, and the broader organization of style declarations and graphics into themes enables you to customize a component in the following ways:
You can change color and text properties of a single component instance. This is effective in some situations, but it can be time consuming if you need to set individual properties on all the components in a document.
For more information, see Setting styles on a component instance.
If you want to apply a consistent look to an entire document, you can create styles on the global style declaration.
For more information, see Setting global styles.
You may want to have groups of components in a document share a style. To do this, you can create custom style declarations to apply to the components you specify.
For more information, see Setting custom styles for groups of components.
You can define a default class style declaration so that every instance of a class shares a default appearance.
For more information, see Setting styles for a component class.
The values of style properties set on containers are inherited by contained components.
For more information, see Setting inheriting styles on a container.
Flash does not display changes made to style properties when you view components on the Stage using the Live Preview feature. For more information, see Components in Live Preview.
In addition to the topics mentioned above, this section contains the following topics:
|
|
|
|