PDA

View Full Version : startDrag and off stage


Zath
09-26-2005, 03:19 AM
My movie clips are dragged this way....

startDrag(this, false, 10, 10, 700, 700);


If the mouse goes off stage, it messes up the stopDrag. That is, sometimes the clip being dragged is left in the position near where the mouse went off stage, which it shouldn't do.

How can I get the mc to go back to it's original position if the mouse goes off stage?

Thanks,

Sunny13
09-26-2005, 04:18 AM
One solution can be the setInterval....move the object along with the mouse and have checks/conditions to not to place the object outside the boundary specified...:)