Style Flex


    creationComplete="initApp()">
    
        public function initApp():void {
            StyleManager.getStyleDeclaration("Button").setStyle("themeColor",0x0066CC);
            StyleManager.getStyleDeclaration("Button").setStyle("color","Blue");
        }
        public function changeStyles(e:Event):void {
            e.currentTarget.setStyle("themeColor", 0xFF0099);
            e.currentTarget.setStyle("color", "Red");
        }