Use embedded fontFamily as a type selector for VBox controls
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Style> @namespace mx "http://www.adobe.com/2006/mxml"; @font-face { src:url("a.ttf"); fontFamily:myFontFamily; flashType: true; } mx|VBox { fontFamily: myFontFamily; } </mx:Style> <mx:Panel title="Embedded Font Applied With Type Selector"> <mx:VBox> <mx:Button label="Click Me" /> <mx:Label text="Label" /> <mx:TextArea width="400" height="75" text="The text uses the myClass class selector." /> </mx:VBox> </mx:Panel> </mx:Application>