2 Replies Latest reply on Feb 22, 2008 11:43 AM by HeMightBeCreative

    Start and StopDrag

      I have a movie clip that I want to be able to drag but once it hits a defined barrier it won't go past it. I got that part down. My problem is if I hold the mouse button down past the barrier and I let go of the mouse button and move the mouse back over the movie clip will stay attached to the mouse. How do I fix this?
      Here's the code I'm using:

      a_mc.onPress = function() {

      a_mc.onRelease = function() {

      Thanks alot!