I am dispatching events when user touches the screen and removes the touch. But, the event is dispatched only once, I want the Touches_End event to be dispatched continuously until user touches the screen, how can I do that?Please?
I tried updating it in Event.Enters_Frame function and added listener in Event.TOUCH_ENDS function, but it doesn't work.
function Play: whenEntersFrame()
speed = 20
x,y = mc1:getPosition()
y = y+ speed
until self.touchStarted ~= true