Hi,
I can’t discover who calls, and why all the TouchEventListener-functions are called, every 2 seconds or so. Does anyone have an idea?
Initiating listeners like:
this.addEventListener ( TouchEvent.MOUSE_DOWN, this.mouseDownHandler, false, 0, true );
this.addEventListener ( TouchEvent.MOUSE_UP, this.mouseUpHandler, false, 0, true );
etc.
The functions like:
private function mouseDownHandler ( event:TouchEvent ):void
{
// do stuff
}
And when pressing DOWN with the mouse, and holding it, in the reacTIVision TUIO Simulator, I see that all the functions are called every 2 seconds. I’ve searched around the TUIO classes for an interval or something, but couldn’t find anything. I noticed that the TUIOEvent-class is an extensions of the Flash Event-class, but couldn’t find any info about intervals in this class’ documentation.
It could (logically) be because of the double tapping or longpress option in the TUIOEvent-class, but the pain is that when initiating a startDrag on MOUSE_DOWN, the stopDrag on MOUSE_UP is automatically called 2 seconds later, just when you’re not done with dragging…
BTW, I’m developing in Adobe AIR, and the latest TUIO-classes from subversion.
