1 Reply Latest reply on Jan 28, 2011 2:33 AM by _spoboyle

    How to acces One MXML Control from another MXML File

    kiran7881 Level 1

      Hello i have a Custom MXML Component named as SeeElement.mxml .

       

      In that i am having a TabBar component as shown

       

      <mx:TabBar  id="viewTab" itemClick="switchView();" >
      <mx:dataProvider>{VIEW_ARRAY}</mx:dataProvider>
      </mx:TabBar>

       

       

      Inside another MXML Component , i want to access its viewTab.selectedIndex  , but why i am unable to access this component ??

       

      Please help