Announcements
The Scaleform forum is now read-only. Please head to the Gamedev site for product support.
Scaleform Forum (Read Only)
Scaleform enables developers to leverage the power of the Adobe® Flash® tool set to create powerful user interface environments for video games.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multitouch Support

0 REPLIES 0
Reply
Message 1 of 1
FrankFloor84
683 Views, 0 Replies

Multitouch Support

I am using the Scaleform iOS Mobile SDK 4.2.24 and am trying to get multitouch support to work on iOS but am having no luck so far. I am using code similar to the following:

 

Multitouch.inputMode=MultitouchInputMode.TOUCH_POINT;

var mySprite:Sprite = new Sprite();
var myTextField:TextField = new TextField();

mySprite.graphics.beginFill(0x336699);
mySprite.graphics.drawRect(0,0,40,40);
addChild(mySprite);

mySprite.addEventListener(TouchEvent.TOUCH_BEGIN, taphandler);

function taphandler(e:TouchEvent): void 
{
    trace("TOUCH_BEGIN");
}

 

Additionally, I have made sure that GFX_MULTITOUCH_SUPPORT_ENABLE is defined in my GFxConfig.h. The first touch is detected, but when I attempt to make the second touch, I get the following output:

 

 

Gesture: Failed to receive system gesture state notification before next touch

 

I have also tried to define GFX_GESTURE_RECOGNIZE, but get a compile error since it can't find GFx/GFx_Gesture.h.

 

Has anyone had any luck with multitouch on iOS?

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report