1 Reply Latest reply on Apr 17, 2011 8:10 PM by CleanCoder

    TabBar rollover index

    BennyB23 Level 1

      How do you reference the child index which has focus (not necessarily the selectedIndex) in an event handler function?


      Lets say you have something like;


      <s:TabBar id="tabs" dataProvider="{vStack}" />

      <mx:ViewStack id="vStack">

           <s:NavigatorContent label="one" />

           <s:NavigatorContent label="two" />

           <s:NavigatorContent label="three" />


      <s:Label id="tabsLabel" text="Whichever tab the mouse is over..." />