2 Replies Latest reply on May 11, 2009 5:57 AM by omphaloskepsite

    how do I stopDrag when the movieclip is disabled mid-drag?

    omphaloskepsite Level 1

      I don't even know where to go looking for this.


      I have a game with a timer.

      Lots of moveable pieces using startDrag and stopDrag on a dropTarget.

      when the timer hits Zero, all the pieces are disabled using enabled=false;


      but if I am mid-drag with a piece when the clock runs out,

      I can't get rid of it, and it won't let me hit my "reset" button.


      I get completely stuck.

      Unacceptable for the users!  (whoops)


      Any ideas to globally stopDrag?


      Thank you!