在flash builder4.5 上利用air 扩展实现Gyroscope陀螺仪功能,在 iphone中是如何对 Gyroscope 的x,y,z三个方向上的数据进行处理的??揪心! private var test_ball:Image=new Image();
private function onChange1(e:GyroscopeEvent):void{trace("From g1: " + e.x + " " + e.y + " " + " " + e.z);test_ball.x=e.x;
test_ball.y=e.y;
test_ball.z=e.z;
}