3 Replies Latest reply on May 22, 2007 4:54 PM by kglad

    selecting instance from multiple instances

    meridian
      AC2.0

      I have several instances of a movieclip, named p1 through p20, inside another movie clip. The instances get dragged around the screen when a user clicks on one: (see code)


      I would like to change the variable NOMEN as soon as someone selects which instance to drag around. The problem is that I can't determine which instance a user starts to drag. The instances are literally jumbled together in a pile. A user comes along, and decides to "Drag" one instance away from the pile. The user will click-Down on his mouse and drag. So what I would like to do is, on that downward-click to change the variable "Nomen", so that the "Drag" can begin. Is that possible?