Set device font
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Style> .myClass { fontFamily: Arial, Helvetica, "_sans"; color: Red; fontSize: 22; fontWeight: bold; } </mx:Style> <mx:Panel title="myClass Class Selector with Device Font"> <mx:VBox styleName="myClass"> <mx:Button label="Click Me" /> <mx:Label text="Label" /> <mx:TextArea width="400" height="75" text="use myClass class selector." /> </mx:VBox> </mx:Panel> </mx:Application>