Alignment to center
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:VBox width="400" height="400" horizontalAlign="center"> <mx:Button label="Button"/> <mx:Button label="Button"/> <mx:Button label="Button"/> </mx:VBox> </mx:Application>