Tuio Flash Blog

Using TuioDebug

The debugging class "TuioDebug" enables you to quickly visualize received tuio messages to see if everything is configured correctly.

To use TuioDebug you simply have to initialize it like that:

  1. var tdbg:TuioDebug = TuioDebug.init(stage);

Next you have to add it to your TuioClient as a listener like this:

  1. yourTuioClient.addListener(tdbg);

If everything works correctly you should see your tracked fingers(cursors)/objects represented by rings/rectangles and some additional information on the stage.

Of course you can customize the rings by changing the color, linethickness and alpha for fingers(cursors) and objects separately.

For more information have a look at the asdoc, all the functions should be self explanatory. If you happen to run into any problems or have suggestions how to improve the TuioDebug class write a comment or send me an email.

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.