The easiest and safest way to maintain an application's style Settings is by using external style sheets.
保持应用程序样式设置的最简便也是最安全的方法是使用外部样式表。
By placing the style for these classes in external style sheets, you can keep the separation of style, data, and events that is crucial in complex pages. Take a look at some examples.
通过将这些类的样式放入外部样式表,就能分离样式、数据和事件,这种分离对于复杂的页面至关重要。
Styling can be done using local style definitions (as in Listing 3), references to external style sheets, inlining styles within the components, and using the setStyle method in ActionScript.
样式设计通过使用本地样式定义(见 清单 3)、对外部样式表的引用、组件内的内联样式以及 ActionScript 中的 setStyle 方法完成。
应用推荐