Make your sites multitouch enabled with TouchGateway!
March 9th, 2009I mentioned to the guys over at the nuigroup.com forums that I would release my AS3 binary TUIO socket class this weekend…
Download TouchGateway Wrapper Beta 1
… and here it is, included is everything you need to get started, 2 flex builder projects (pure as3) one is the source to the Debug Grid I posted a while ago, and the other one is a wrapper which handles the java applet loading and manages placeholders, which generally makes things much easier to use.
Essentialy all you need to do is put the TouchGatewayWrapper on your page, and set a couple of properties that point to your multitouch application swf file.
<param name=”movie” value=”TouchGatewayWrapper.swf?placeholder=DebugGrid.png&movie=DebugGrid.swf” />
<param name=”allowScriptAccess” value=”sameDomain” />
<param name=”allowFullScreen” value=”True” />
<param name=”menu” value=”true” />
as you can see here I am setting placeholder to a png file that is in the same folder as the touchgatewaywrapper and the movie to the DebugGrid using a simple query string format. Also make sure you have allowScriptAccess, allowFullscreen and menu all enabled too
I would have liked to get some better examples included with this, but I had to work over the weekend on short notice and I hate to disappoint, so I have released it as it is for the moment. More examples will come soon.
