2009-10-08から1日間の記事一覧

マルチタッチ

・対応OS Windows 7 Mac OS X Gestures Mobile・対応ランタイム Flash Player 10.1 AIR 2.0 Mobile MULTI-TOUCH AND THE FLASH PLATFORM http://tv.adobe.com/watch/max-2009-design/multitouch-and-the-flash-platform/

マルチタッチAPI

Multitouch [static] inputMode:String [static] masTouchPoint:int [static] supportedGestures:Vector [static] supportsGestureEvents:Boolean [static] supportsTouchEvents:Boolean MultitouchinputMode GESTURE NONE TOUCH_POINT GestureEvent GESTURE…

マルチタッチのイベントハンドラ

ズームの検出 private someFunction():void{ ... mouse.addEventListener(TransformGestureEvent.GESTURE_ZOOM , onZoom); ... } private function onZoom(e:TransformGestureEvent):void{ var m:Sprite = e.target as Sprite; m.scaleX = e.scaleX; m.scale…