not to autoLayout for HBox
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:HBox autoLayout="false"> <mx:Image source="logo.jpg" /> </mx:HBox> </mx:Application>