I have an event listener attached to an object. I want the event to be fired when the user touches the object, then I want to return the distance when the user drags his finger off the object and lifts it from the screen. I calculate the distance using event.x and event.xStart (and y ) upon event “ended”.
The problem is that if the user drags his finger off of the object before lifting it from the screen, nothing happens. How can I start the event when the object is hit and end it when the finger is lifted even when it is no longer on the object? [import]uid: 3018 topic_id: 2670 reply_id: 302670[/import]