Hey guys,

Here's the issue:

I have a tabNavigator that basically looks like this:

<mx:TabNavigator id="tn" >
     <mx:Canvas id="masterListTab">
            <myComps:MasterList id="masterList"/>
     </mx:Canvas>
     <mx:Canvas id="detailTab">
          <myComps:Details id="details"/>
     </mx:Canvas>
</mx:TabNavigator>

My problem is that I need all the components in all the tabs to be not null 
from the very beginning.  I need, for example, to be able to set 
details.addEventListener() in the creationComplete function of the 
application... but details is NULL until it's been clicked on.  

One way might be to refactor the creation of everything here into actionscript, 
but it would be a long and tedious refactoring, and I don't have the time.  
Thoughts?

Thanks,

Willy 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6040
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to