thanks, I did have the listener on the top level element- i just realized the problem was a binding error happening just before (that I could not see unless debugging) that was causing that listener to not get applied.
working now, thanks d. On Tue, Nov 25, 2008 at 8:29 AM, valdhor <[EMAIL PROTECTED]> wrote: > Are you using the SuperTabNavigator example? > > If so, add the event listener to the "nav" element and try again (This > is the top SuperTabNavigator). I did this and it worked fine. > > Otherwise, post some code and I can give it a looksee. > > > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, "Derrick > Anderson" > <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I understand that is when it 'should' be dispatched, but my problem > is that > > I have a listener function that is never getting called when I > reorder the > > tabs. I'm listening for the event like: > > > > superTabNavElement.addEventListener(SuperTabBar.TABS_REORDERED, > > onTabReorder); > > > > Any ideas? > > > > d. > > > > On Mon, Nov 24, 2008 at 2:46 PM, valdhor <[EMAIL PROTECTED]> wrote: > > > > > From looking at the code and the example, this event is fired > when you > > > drag and drop a tab from one position to another. > > > > > > --- In flexcoders@yahoogroups.com > > > <flexcoders%40yahoogroups.com><flexcoders% > 40yahoogroups.com>, > "Derrick > > > Anderson" > > > > > > <no.way.this.is.in.use@> wrote: > > > > > > > > Hi, > > > > > > > > Does anyone familiar with the SuperTabNavigator in FlexLib know > how to > > > > capture the tab reorder event? I looked in the code and I see > that it > > > > dispatches the event TabReorderEvent, but when I listen for that > > > event like > > > > so: > > > > > > > > surveyPages.addEventListener(SuperTabBar.TABS_REORDERED, > onTabReorder); > > > > > > > > <flexlib:SuperTabNavigator id="surveyPages" > > > > > > > > my function is never called, anyone know how to do this? > > > > > > > > thanks, > > > > d. > > > > > > > > > > > > > > > > > >