If you did:

<mx:TabNavigator>
                <mx:ModuleLoader>
                <mx:ModuleLoader>

then the ModuleLoader for the tab that is not selected should have visible=false

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of mmormando
Sent: Monday, May 04, 2009 1:49 PM
To: [email protected]
Subject: [flexcoders] Check to see if component is visible





Sorry if this explained in detail somewhere, but if it is I haven't been able 
to find it. I've got modules embedded in tabs, if the module isn't visible I 
don't want it to react to certain events....the problem is, every component 
I've checked, including the module itself, the visible property is "true". One 
suggestion I did find said that perhaps something in the "parent" chain would 
show as visible false...but this does not appear to be the case.
Anyone have any suggestions?
tia
Mike

Reply via email to