while working on a project at schematic, i was investigating the possibility of defining style attributes for component instances in an external css file. i got the following system to work:
/* filename: styles.css */ 【程序编程相关:Google也有"漏洞&quo】
1. create an external css file, defining the style(s) and component-specific styles you want to customize. for example: 【推荐阅读:[音乐天堂]Eventide】
checkbox { 【扩展信息:我了解的javaIDE浅析】 color: 0x0000ff; embedfonts: false; fontfamily: arial; fontsize: 24; }2. load the style sheet into your flash movie, retrieve the style name, and apply it to your instance:
import mx.controls.checkbox;
... 下一页