I am trying to use gestouch in my project and I cannot get it to work correctly.
Here's how I compare it:
var tapGesture:TapGesture = new TapGesture(stage); tapGesture.addEventListener(GestureEvent.GESTURE_RECOGNIZED, onTap);
As you can see, it is displayed on the stage, and so it works ... The class in which I use it extends flash Sprite, and I would like to map the this gesture, but when I do this, gestouch does not seem to work ...
I even tried to put a sprite with the height and height of the scene on top of my view and still does not work ...
Does anyone know what the problem is?
In addition, it may be important to note that I am using ASC2.0, so I had to remove the mario-mushroom operator from this part: Gestouch.inputAdapter ||= new NativeInputAdapter(stage);
source share