Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Mobile Gesture Event- Pan Event(Problem)

New Here ,
Apr 07, 2014 Apr 07, 2014

AS3-mobile

I want move my picture with single finger not two finger.
that coding provide with multitouch function to work but i need move with single finger.

Any solution for this. Need for help.

coding:

Multitouch.inputMode = MultitouchInputMode.GESTURE;

Picture.addEventListener(TransformGestureEvent.GESTURE_PAN, fl_PanHandler_2);

function fl_PanHandler_2(event:TransformGestureEvent):void

{

          event.currentTarget.x += event.offsetX;

          event.currentTarget.y += event.offsetY;

}

TOPICS
ActionScript
733
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 07, 2014 Apr 07, 2014

use a touchevent, not transformgestureevent.

Translate
Community Expert ,
Apr 07, 2014 Apr 07, 2014

use a touchevent, not transformgestureevent.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 08, 2014 Apr 08, 2014

Thanks... problem solved

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 10, 2014 Apr 10, 2014
LATEST

you're welcome.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines