Mega Code Archive

 
Categories / Flex / Container
 

To anchor the Panel perfectly in the center, set both fields to 0

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">     <mx:Panel width="250" height="200" layout="absolute" horizontalCenter="0"         verticalCenter="0">     </mx:Panel> </mx:Application>