I have a grid of movieclips that the user can grab and drag around and when they lift the mouse, they snap back to their original position.
So far so good.
I also have a rectangle that prevents these movieclips from being dragged beyond the bounds of the grid.
Again so far so good.
But what I would like to do and cannot seem to do is have the movieclips snap back to their original position if the user drags them to their bounds limit, defined by the rectangle, and the user then keeps dragging the mouse beyond the bounds limit. I’ve toyed around with a MOUSE_OUT event and it doesn’t seem to work very consistently. I’ve thought about a conditional statement that detects when the mouse is beyond the bounds rectangle, but that’s been a dead end.
Can anybody think of a clever way to achieve what I want?