How to make a smooth movement (at the end, on release) using drag?
I am struggling with the smooth movement of my MC.
I am able to move it around, but want to make it smooth, like google maps or something like that. Right now, it looks very "abrupt" at the end. I am looking for something called drag and throw, i guess. Where when the user releases the mc, it still moves a bit until stops. But i cant use on EnterFrame, since i dont want to keep calling it over and over.
Here is the code that i am using:
//Here i have my own cursor.
//mc_my_cursor.x = evt.stageX;
//mc_my_cursor.y = evt.stageY;
Any ideas, sugestions, hints, ANYTHING, will be welcome!
Thanks for the reply.
How would u move something at the end of the drag? Isnt that mc already at the end?
I mean, there is no start point, just end point when the user releases the mouse button.
Could u provide an example?
Perhaps I didn't understand you correctly. A typical problem often encounter in drag-and-drop if that we don't want the movie-clip to suddenly appear in the drop slot. Tweening it there makes it look less abrupt.