I would like to know whether there is any Android emulator that would support touch events when running AIR content.
When running this simple code, I always get a "false" value when testing Multitouch.supportsTouchEvents (see http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/ui/Multitouch.html.
Here is the simple actionScript code:
- Code: Select all
package
{
import flash.display.Sprite;
import flash.ui.Multitouch;
import flash.ui.MultitouchInputMode;
import flash.text.TextField;
public class ActionScriptAIR extends Sprite
{
public function ActionScriptAIR()
{
super();
var myTextField:TextField = new TextField();
addChild(myTextField);
myTextField.width = 300;
myTextField.height = 20;
Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
var touchSupport:Boolean = Multitouch.supportsTouchEvents;
var gestureSupport:Boolean = Multitouch.supportsGestureEvents;
myTextField.text = "touchSupport: " + touchSupport + " gestureSupport: " + gestureSupport;
}
}
}
I would appreciate any help on this.
Thanks in advance,
Ludo


