Зравствуйте. Возникла проблема с TransformGestureEvent.GESTURE_ZOOM вот код:

Код AS3:
package {
import flash.display.MovieClip;
import flash.events.GestureEvent;
import flash.events.TransformGestureEvent;
import flash.ui.Multitouch;
import flash.ui.MultitouchInputMode;
import flash.events.Event;
import flash.text.TextField;
public class mtouchzoom extends MovieClip {
Multitouch.inputMode = MultitouchInputMode.GESTURE;
var deviceSupports:TextField;
public function mtouchzoom() {
if (stage)
{
init();
}
else
{
addEventListener(Event.ADDED_TO_STAGE, init);
}
}
public function init(e:Event=null):void
{
if(Multitouch.supportsGestureEvents){
var supportedGesturesVar:Vector.<String> = Multitouch.supportedGestures;
deviceSupports = new TextField();
deviceSupports.width = 200;
deviceSupports.height = 200;
deviceSupports.wordWrap = true;
for (var i:int=0; i<supportedGesturesVar.length; ++i) {
deviceSupports.appendText(supportedGesturesVar[i] + ", ");
addChild(deviceSupports);
}
}else {
deviceSupports.text=("not supported");
}
addEventListener(TransformGestureEvent.GESTURE_ZOOM , onZoom);
}
function onZoom(evt:TransformGestureEvent):void {
deviceSupports.text=(evt.scaleX as String);
// foto1.scaleX*=evt.scaleX;
//foto1.scaleY*=evt.scaleX;
}
}
}
проблема в том, что несмотря на то, что при старте, в текстовом поле пишутся все возможности GESTURE, все равно ничего не работает..