Mega Code Archive

 
Categories / Flex / Container
 

Put control into a Panel

<mx:Application     xmlns:mx="http://www.adobe.com/2006/mxml"     layout="absolute">     <mx:Canvas width="400" height="300">         <mx:Panel left="40" right="40" top="40" id="topPanel">             <mx:Label text="Label text"/>         </mx:Panel>         <mx:Panel left="140" right="40" bottom="40" id="bottomPanel">             <mx:Label text="Label text"/>         </mx:Panel>     </mx:Canvas>      </mx:Application>