Mega Code Archive

 
Categories / Flex / Container
 

Add Panel to TabNavigator

<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"     layout="vertical">     <mx:TabNavigator id="myPages">         <mx:Panel width="250" height="200" layout="absolute"             title="Welcome" id="welcome" label="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" label="Contact Us">             <mx:Text x="10" y="25" text="test." width="200" />         </mx:Panel>         <mx:Panel width="250" height="200" layout="absolute"             id="aboutUs" title="About Us" label="About Us">             <mx:Text x="10" y="10" text="test" width="200" />         </mx:Panel>     </mx:TabNavigator> </mx:Application>