Force Cancel a Touch Event After Firing.

I am using touch listeners to detect swipes on rows of objects. The listener is actually on an invisible button that covers the entire row. 

I’d like to know if it is possible to force the touch into a ‘cancelled’ phase after the first swipe has been triggered, without requiring the user to remove their finger from the screen?

The problem is that, if the user leaves their finger on the screen, a second swipe can be triggered after the first set of actions have been performed and, because it is in the context of the original touch, it doesn’t always register as in the direction you’d expect.

Any advice gratefully received.

Jules.

My thanks to Doug (TastyMushroom) for pointing me at this article:

http://stackoverflow.com/questions/19780069/manually-ending-or-canceling-touch-phase-in-corona-sdk

I was able to solve my problem using the advice within.

Jules.

My thanks to Doug (TastyMushroom) for pointing me at this article:

http://stackoverflow.com/questions/19780069/manually-ending-or-canceling-touch-phase-in-corona-sdk

I was able to solve my problem using the advice within.

Jules.

You have just saved me so much time. Thank you for sharing the solution. 

You have just saved me so much time. Thank you for sharing the solution.