5 Replies Latest reply on Aug 30, 2009 10:50 PM by _Natasha_

    Problem w/ Arrays objects

    bendayan

      Hi there.

      I have two arrays. One contains three rectangles, and the other contains three circles. Something like this:

       

      var myRectArray:Array = [rect1, rect2, rect3];

      var myCircleArray:Array = [circle1, circle2, circle3];

       

      All six objects are clickable. How can I know to which array belongs the object clicked by the client?

       

      Please, I'll be very thankfull with any help regarding this issue.