Hi,

Whatever I try, I get the same values for scaleX and scaleY in a TransformGestureEvent. I just cannot get seperated x and y values.

Anybody has an idea?
Thanks for your reaction!

Code:
public class Test extends Sprite 
{
   // SimpleTextField is for showing text quick n dirty
   private var ff:SimpleTextfield = new SimpleTextfield(300, 25);
   private var sp:Sprite = new Sprite();
		
   public function Test() 
   {
      super();

      stage.align = StageAlign.TOP_LEFT;
      stage.scaleMode = StageScaleMode.NO_SCALE;

      addChild(ff);

      sp.graphics.beginFill(0x00FF00);
      sp.graphics.drawRect(10, 40, 300, 400);
      addChild(sp);
			
      Multitouch.inputMode = MultitouchInputMode.GESTURE;
      sp.addEventListener(TransformGestureEvent.GESTURE_ZOOM, zoomContent);
   }
		
   private function zoomContent(e:TransformGestureEvent):void 
   {
      // values of scaleX and scaleY are the same, whatever I do 
      // on my iPhone touchscreen
      ff.changeText(e.scaleX + " | " + e.scaleY); 
      // and the square is only resized proportional
      sp.scaleX *= e.scaleX;
      sp.scaleY *= e.scaleY;
   }
}
Flash CS5.5 - AIR for IOS