This site provides a good tutorial for how to get things up and running, and testing things with your computer instead of having an external device, such as an iPhone.
So, the steps are actually simple once you know how to do it:
1. Get the Tuio ActionScript 3.0 library
2. Get the udp-flashlc-bridge (and simulator)
3. Build your Flash application.
Here’s some code from the website to get you up and running:
package { import flash.display.MovieClip; import org.tuio.*; import org.tuio.debug.TuioDebug; import org.tuio.TuioManager; import org.tuio.connectors.*; public class Main extends MovieClip { // as3-tuio private var tuio:TuioClient; private var tuioManager:TuioManager; private var tdbg:TuioDebug; public function Main():void { //starts TUIO - LC based this.tuio = new TuioClient(new LCConnector()); // This is the TuioClient listener, doesn't do TouchEvent events and uses a different type of listeners // http://bubblebird.at/tuioflash/guides/using-the-tuioclient/ //this.tuio.addListener(this); //This activates listening to Blobs for TouchEvents. this.tuioManager = TuioManager.init(stage, this.tuio); this.tuioManager.triggerTouchOnBlob = true; //Debugging data, just delete to remove tdbg = TuioDebug.init(stage); this.tuio.addListener(tdbg); //Nice Addition, no need for anything on the stage for TouchEvents to work, unlike Touchlib's setup stage.addEventListener(TouchEvent.TOUCH_DOWN, onTouchDown); stage.addEventListener(TouchEvent.TOUCH_MOVE, onTouchMove); stage.addEventListener(TouchEvent.TOUCH_UP, onTouchUp); } public function onTouchDown(evt:TouchEvent):void{ trace("Touch ID = " + evt.tuioContainer.sessionID + ", Event = TOUCH_DOWN"); } public function onTouchMove(evt:TouchEvent):void{ trace("Touch ID = " + evt.tuioContainer.sessionID + ", Event = TOUCH_MOVE"); } public function onTouchUp(evt:TouchEvent):void{ trace("Touch ID = " + evt.tuioContainer.sessionID + ", Event = TOUCH_UP"); } } }