Copy link to clipboard
Copied
Hi out there
Can anyone in here tell me, how to modify the below “Pan Event” code snippet in Animate - and make it work:
Multitouch.inputMode = MultitouchInputMode.GESTURE;
movieClip_1.addEventListener(TransformGestureEvent.GESTURE_PAN, fl_PanHandler);
function fl_PanHandler(event:TransformGestureEvent):void
{
event.currentTarget.x += event.offsetX;
event.currentTarget.y += event.offsetY;
}
The movieClip is visible in simulater, but you can’t pan it.
It is very frustrating that this Pan feature is not working because I really need it in my App.
Have something to add?