Mega Code Archive

 
Categories / Flex / Container
 

Add Label and Button to a Panel with absolute layout

<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">     <mx:Panel x="320" y="127" width="250" height="200" layout="absolute"         title="Testing Events">         <mx:Label x="55" y="45" id="myLabel" />         <mx:Button label="Test" id="myButton" x="90" y="96" />     </mx:Panel> </mx:Application>