Percentage-based sizing
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" height="300" width="600"> <mx:HBox id="hBox1" xmlns:mx="http://www.adobe.com/2006/mxml" height="30%" width="90%"/> </mx:Application>