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

<*> 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/
 


Reply via email to