Support for native multitouch in FP 10.1 / Air2 is one the biggest changes in upcoming release of player.
It is a great challenge to redefine the concept of user-experience, and I hope that new features wont be used only for building applications for mobile phones.
However begining of my adventure with multitouch was not as beautiful as I wanted it to be. My first goal was to generate some random graphic/sound effects which can be controlled by numer and positions of touches. And I wanted to test in on my macbook and it’s multitouch trackpad. And.. Bang!
Current version of 10.1 don’t support native touches, just gestures… geez. Moreover it only works well in AIR, because there are some problems with browser support under mac (check lee’s video about multitouch development)
So… I started digging to bring touch support to my mac and flash. At first i found this: support for mac trackpad in python and used it with new NativeProcess in Air. Actually it worked well. Later on I found project called TUIO. Basically it describes protocol of multitouch data exchange between device and client library. And there is superb project: tuio-flash which brings support for tuio via udp to your flash projects.
Quick coding proved it works extramly well with my iPhone as touch device. There are also some projects with uses trackpad as tuio device, so with one library it is possible to use these two devices.
There is one problem with support of native touch data on mac. This problem is native system gestures – it is extreamly easy to fire them when playing with trackpad…