Mega Code Archive

 
Categories / Flex / Container
 

Use Panel to hold controls

<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">     <mx:Panel width="250" height="200" layout="absolute" title="Welcome" id="welcome">         <mx:Text x="10" y="28" text="test" width="200" />     </mx:Panel>     <mx:Panel width="250" height="200" layout="absolute" id="contact" title="Contact">         <mx:Text x="10" y="25" text="test2" width="200" />     </mx:Panel>     <mx:Panel width="250" height="200" layout="absolute" id="aboutUs" title="About Us">         <mx:Text x="10" y="10" text="test 3" width="200" />     </mx:Panel> </mx:Application>