Tuio Flash Blog

Fixes for common problems

In this article we will give you hints on how to fix problems developers use to stumble upon.

LocalConnection only works within Flash but not the standalone player
To fix this you have to set the "Local playback security" to "access network only" in the Publish Settings.

I won't receive any tracking data although my tracker is in Flash/TCP mode
Most currently trackers that have a Flash/TCP mode use the old XML via TCP method which isn't supported by our library. What you can do is Georg Kaindl's udp-lc bridge or Touché tracker. We'll compile a list of supported trackers as soon as the library is closer to beeing finished.

Comments (2) Trackbacks (0)
  1. Am I able to get a log file of the input from the LCconnection? I would like to get a list of data equivalent to the “verbose output” function in reacTIVision.

  2. Hi maybe OSCBundle.getPacketInfo() is what you are looking for. It simply generates a string of the parsed OSCBundle and it sub OSCPackets. If you add a trace of that to the OSCManager.acceptOSCPacket() function with a type check on the oscPacket paramter against the OSCBundle class that should do. Something like the following:

    1. public function acceptOSCPacket(oscPacket:OSCPacket):void {
    2.    if (running) {
    3.       if(oscPacket is OSCBundle) trace((oscPacket as OSCBundle).getPacketInfo());
    4.          this._currentPacket = oscPacket;
    5.          this.distributeOSCPacket(this._currentPacket);
    6.       }
    7.    }

Leave a comment


No trackbacks yet.