stop draging a movieclip when it was draged

I set my movieclip can be drag.

when I press on it,and it is draged,how can drop it ,without release my touch?

thanks .

You'd have a function that removed the event listener, most likely. It depends what you want. You want it to stop after 5 seconds? Use a timer.performWithDelay(), you want it to stop in a certain place? Check X and Y during event or use a sensor (physics).

views:990 update:2011/10/16 9:47:44
corona forums © 2003-2011