0 Replies Latest reply on May 15, 2006 11:18 AM by emu604


      In beta 3, setCapture and releaseCapture were removed. I had previously used these to capture release events outside of the Sprite being dragged. If you don't do this, it sometimes happens that the mouse is outside of the Sprite being dragged when the mouse up event fires, but there's nothing there to catch it, therefore the dragging continues after the mouse is released.

      I was able to catch this by adding the event to the stage on mouse_down, and using event.stopPropagation(). However, couldn't adobe come up with a simpler way to make dragging work correctly? The startDrag() function might have a boolean parameter like 'captureNextMouseUp.' The mouse_up event handler could then call stopDrag and any other code it needs to.