.myFontStyle { fontSize: 15; color: #9933FF; } public function changeStyles(e:Event):void { StyleManager.getStyleDeclaration('.myFontStyle').setStyle('color',0x0000CC); }