I just wild guessed tabDetails.selectedChild.label
and bingo that was it. Thanks Everyone !!!! Dan --- In [email protected], "Sauro, Nick" <[EMAIL PROTECTED]> wrote: > > Have you tried selectedChild.label or selectedChild.text? > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Dan Plesse > Sent: Tuesday, January 31, 2006 5:14 PM > To: [email protected] > Subject: [flexcoders] How do you get the tab label using change event > and tabbar.selectedChild > > > > How do you get the tab label using change event and > tabbar.selectedChild? > > // the eventListenr > tabDetails.addEventListener("change", mx.utils.Delegate.create(this, > onChange)); > > // the function > function onChange(event){ > debugTxt.text += "line 26 tabbar.selectedChild: == " + > tabDetails.selectedChild + " \r"; > } > > // the output obj0 seems to be tab 1 > > line 26 tabbar.selectedChild: == > _level0.mainPanel._obj0.VBBOX.tabDetails.HelloTab0 > line 26 tabbar.selectedChild: == > _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 > line 26 tabbar.selectedChild: == > _level0.mainPanel._obj0.VBBOX.tabDetails.HelloTab0 > line 26 tabbar.selectedChild: == > _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 > line 26 tabbar.selectedChild: == > _level0.mainPanel._obj0.VBBOX.tabDetails._obj0 > line 26 tabbar.selectedChild: == > _level0.mainPanel._obj0.VBBOX.tabDetails._obj1 > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > > ________________________________ > > YAHOO! GROUPS LINKS > > > > * Visit your group "flexcoders > <http://groups.yahoo.com/group/flexcoders> " on the web. > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/> . > > > > ________________________________ > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

