Getting started with multitouch in AIR 2.0 and Player 10.1 on the Macbook
I decided to have a look at the latest beta players for AIR 2.0 and FP 1.5 with regards to multitouch. Lee Brimelow has a great multitouch tutorial on his site, check it out.
In order to get it to work you need a Macbook with multitouch pad. I use the latest pro model, courtesy of theFactor.e
.
- You need to download the beta runtime plus sdk which you can get here.
- Install the runtime. This is the easy part.
- Setup the sdk like they explain here. I’ve got it setup so I can export from Flash.
- Create a new Flash AIR project.
- If you would use any of the TransformGestureEvents now it will throw an error. But export the file anyway.
- Open the xml file that Flash just exported next to your swf (Multitouch-app.xml in my case).
- Change the line that define the name space so it uses the 2.0 beta name space:
<application xmlns=”http://ns.adobe.com/air/application/2.0beta2″> - Save the xml and try exporting the Flash file again. It should work a charm now.
I’ve uploaded the source for you to play with here. And if you just want to see the AIR app download that here. It only works on a Macbook with multitouch pad or some other fancy multitouch device running Windows 7. Enjoy!
Big thanks to Lee Brimelow and the Internets
1 Comment to Getting started with multitouch in AIR 2.0 and Player 10.1 on the Macbook
Leave a Reply
Tag Cloud
3d
25 lines
alice in wonderland
Arduino
as3
blog
ByteArray
challenge
code
color
colour
conference
conway
corn pops
crash
Digital Outlook
experiment
eye
face
fast
Flash
flash on the beach
flex
fotb
fun
game
game of life
hello world
image export
kaleidoscope
keith peters
microphone
miniclip
pan flute
papervision
rebuild
ring
sauron
theFactor.e
threshold
Tim Burton
tracking
tunnel
webcam
wordpress
Blogroll
- Bram Perry Fun with generative art
- Dino Burbidge My inspirational creative director from Digital Outlook
- James Alliban Guy that does cool webcam stuff with Flash
- Nic in Friesland Blog Blurbs and Recipes from the Middle of Nowhere
1 2 3 testing Disqus