0 Replies Latest reply on Jul 9, 2010 10:22 AM by ZenForHire

    Event returns TabBarSkinInnerClass0 as Target

    ZenForHire

      Hi All,

       

      Trapping button clicks in 3.x application that now has to support Spark 4.x

       

      3.x code worked with the double events workaround

       

                 if( newEvent.type == MouseEvent.CLICK &&
                   ( newEvent.target is mx.controls.tabBarClasses.Tab ) )

       

      For a Spark TabBar there is only ONE event and the target is a TabBarSkinInnerClass0?

       

      How can I reference this and it is NOT available in the Flex 4.x language reference?

       

      I need an event before it switches to new tab.

       

      Thanks in advance,

       

      Kevin