xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"> private function readStyle():void { myLabel.text = "Label style is: " + myLabel.getStyle("fontStyle"); }