HOWTO: Run Flash Demos on OSX Leopard
From NUI Group
This article will show you how to run a Flash demo on the mac. This tutorial uses either BBTouch, which is currently Leopard only, or the TUIOSimulator.
What you need:
- A multitouch table or the TUIOSimulator
- Any blob tracker that generates TUIO packets, we'll use BBTouch for now. If you are using the [TUIOSimulator], that handles TUIO generating as well, so there is no need for a blob tracker as well.
- FLOSC
- A flash demo
The TUIOSimulator, flosc, and the flash demo can all be found through Reactable Software, which also created Reactivision.
Step 1) - Download your software.
Follow the Opentouch wiki to get BBTouch if you aren't using the TUIO Simulator.
Follow the Reactivision wiki to download the source which contains the TUIO_Simulator, flosc, and a flash demo. You want the TUIO module, not the reacTIVision module.
Step 2) - Send the TUIO packets
Start BBTouch or run the TUIO Simulator. Both default to port 3333, keep that the same.
Step 3) - Start your FLOSC server.
CD to the TUIO_Flash folder that came when you downloaded the TUIO module from Reactivision.
Use this command line script “java -jar FlashOSC.jar 3333 3000"
Step 4) - Run the flash demo
Launch TuioDemo.swf (also in TUIO_Flash).
The TuioDemo.swf should be drawing a line following any touches.
