?
?????????????????? 【CSS引入】
<fx:Style> @namespace s "library://ns.adobe.com/flex/spark"; s|Application { skinClass: ClassReference("skins.CustomApplicationSkin"); } </fx:Style>
???????????????????? 【动态皮肤】
<fx:Script> <![CDATA[ import skins.CustomApplicationSkin; protected function btn_click(evt:MouseEvent):void { setStyle("skinClass",CustomApplicationSkin); } ]]> </fx:Script>