Posts tagged flash 10.1
Multitouch + 3D flash 10.1
0I’ve compiled a POC of a 3D model controlled by multitouch events in flex (actually AIR 2.0).
In the application I use TransformGestureEvent dispatched from flash 10.1 player. unfortunately this is the only event fired in Mac and only in AIR mode – adobe it’s lame.
TransformGestureEvent event availability
| Event | Mac Air | Mac Web | Windows (Air+Web) |
| GestureEvent.GESTURE_TWO_FINGER_TAP | v | ||
| GestureEvent.GESTURE_PAN | v | ||
| TransformGestureEvent.GESTURE_ROTATE | v | v | |
| TransformGestureEvent.GESTURE_SWIPE | v | v | |
| TransformGestureEvent.GESTURE_ZOOM | v | v |
TouchEvent availability - windows only (and iPhone but i guess it’s not applicable any more)
| Event | Mac Air | Mac Web | Windows (Air+Web) |
| TouchEvent.TOUCH_END | v | ||
| TouchEvent.TOUCH_MOVE | v | ||
| TouchEvent.TOUCH_OUT | v | ||
| TouchEvent.TOUCH_OVER | v | ||
| TouchEvent.TOUCH_ROLL_OUT | v | ||
| TouchEvent.TOUCH_ROLL_OVER | v | ||
| TouchEvent.TOUCH_TAP | v |
the first version was a bit stale so I’ve added KineticMovementManager which adds a drift effect (like when scrolling an iPhone scroll) but it’s still a work in progress so don’t relay on it.
download source
download installer
[kml_flashembed publishmethod="static" fversion="8.0.0" movie="/blog/wp-content/uploads/2010/04/multitouch 3d take 2.swf" width="550" height="430" targetclass="flashmovie"]
[/kml_flashembed]
