Title: Registering sub-component mediators Post by: Joel Hooks on February 26, 2008, 04:00:50 I am having the worst time with this, and I was wondering how you approach this problem.
I have a main component, a SuperTabNavigator tab that opens various tab panels. The tab panels have sub-tab panels, another nested tab panel with a viewstack for its components. I want/need to mediate the sub-components, but when I use FlexEvent.CREATION_COMPLETE it seems to like to pick up events from other tabs if the user doesn't open the tab right away. Is this a place where a MacroCommand is appropriate (this just occurred to me)? It is giving me a migraine ;) Title: Re: Registering sub-component mediators Post by: puremvc on February 26, 2008, 06:16:05 can you create a small demo that shows the problem? zip and attach here. It might be the way you have things set up, might be Flex weirdness, or both.
-=Cliff> Title: Re: Registering sub-component mediators Post by: Joel Hooks on February 27, 2008, 07:49:01 I decided to simply make an if ( e.target == componentExpected ) check in the listener function. Now they will quit messing with me. It certainly created some weird behavior.
|