fljot/Gestouch — Issue #1: DoubleTapGestureEvent localX bug?
Author: jeromedecoster
Created: 2011-10-24 13:57:35+00:00
State: open

Hello,

I just downloaded Gestouch and try it on a Samsung Galaxy Tab:

DoubleTapGesture.add(stage);
stage.addEventListener(DoubleTapGestureEvent.GESTURE_DOUBLE_TAP, onDoubleTapGesture);

private function onDoubleTapGesture(event:DoubleTapGestureEvent):void {
var sprite:Sprite = new Sprite();
sprite.graphics.lineStyle(25, Math.random()*0xFFFFFF);
sprite.graphics.drawCircle(0, 0, 80);
sprite.x = event.localX;
sprite.y = event.localY;
addChild(sprite);
}

And the sprite is always located at x:0 y:0 (localX and stageX)

Is it a bug?