image is centered in the HBox container
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:HBox horizontalAlign="center" verticalAlign="middle"> <mx:Image source="logo.jpg" /> </mx:HBox> </mx:Application>