Flash on Motorola Xoom don't handle multitouch and performes poorly
First of all - Hello everyone
Strange things are going on my motorola xoom with fp 11.1 and AIR 3.1.0.557
Starting from blank AIR template, I perform a check for transformGestureEvent
("bit" is a bitmap that I have on stage)
if (Multitouch.supportsGestureEvents)
{
bit.addEventListener(TransformGestureEvent.GESTURE_PAN, handlePan);
bit.addEventListener(TransformGestureEvent.GESTURE_ROTATE, handleRotation);
bit.addEventListener(TransformGestureEvent.GESTURE_SWIPE, handleSwipe);
bit.addEventListener(TransformGestureEvent.GESTURE_ZOOM, handleZoom);
debugField.text = "I can handle this: "+ Multitouch.supportedGestures
} else {
debugField.text = "sorry bro, no can do";
}
When I publish swf on my notebook it says it supports all the gestures, but when I transfer swf file to my tablet and then run it - i receive an info, that Multitouch doesn't support TransformGesture Events.
I thought that it may be caused by the fact, that I run swf file, not an android app - so I made one and it said, that it supports, but i didn't respond to functions like this
private function handlePan(e:TransformGestureEvent):void
{
debugField.text = "panning: offset x is: " + String(e.offsetX) + " offsety is: " + String(e.offsetY);
bit.x += e.offsetX;
bit.y += e.offsetY;
}
Nothing. Not event a text in debugTextField
Second thing:
I made a simple swf, that responds to TouchEvents and it runs at 8-9 fps max (fla file is set to 30).
The same thing happens when viewing flash ads in the browser.
(I checked memory, and background applications - I have usually 300-400 MB or RAM available)
Thanks in advance for any help
