ctrl+enter 预览效果,组件样式是不是改变了?下面是默认的样式和刚才自定义样式的效果对比图:

use the _global style declaration that sets styles for all components in a document.
(使用全局样式声明对文档的所有组件设置样式)
flashmx2004的_global对象的style属性可以做到这一点:
从components面板拖n 个组件到场景,这里我用的是button,checkbox和radiobutton
三个组件,也不要给组件命名,直接在时间线上写action:
_global.style.setstyle("themecolor", "0x00ccff");
_global.style.setstyle("fontfamily", "verdana");
_global.style.setstyle("fontsize", "10");
_global.style.setstyle("fontweight", "bold");
_global.style.setstyle("color", "0x990000");
