override mouseEvent with TransformGestureEvent?
I'm creating a simple drawing app. I have a mouseEventListener attached to a sprite and when the user drags a finger over the screen it draws a line - simple enough. I have then added in a listener for the Zoom and Pan transformGestureEvents which in turn scales and pans the canvas as you would expect.
The issue I am having is when you perform zoom or pan gestures there seems to be a slight delay in registering the event which means whenever you pan or zoom you also get a little unwanted line drawn.
I've tried adding a check for event.phase.begin and then disabling the mouseEvent when that fires but the delay is still there and I get the unwanted line. My next plan is start with Multitouch.input type as TouchEvents rather than GestureEvents and then as soon as I detect more than one touch point I will switch to Gesture events disable the drawing and enable the zoom and pan.
This seems a little over complicated has anyone got any better ideas?
Thanks!
