addChild() and just figure out the tabIndex that the user is on and load the 
appropriate form. 
get the Index or label of the container and just add them
<mx:TabNavigator id="myNav" change="tabChange(event)">
<mx:Canvas label="Flex"/>
<mx:Canvas label="Coders"/>
</mx:TabNavigator>



----- Original Message ----
From: markgoldin_2000 <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, January 24, 2008 12:22:56 PM
Subject: [flexcoders] Adding children at run-time

I have a tab navigator as a main application container. I have designed 
mxml components (form based) for each tab. I want to load these forms 
when a user clicks on a tab. How can I do that?

Thanks





      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to