Skip to main content
Inspiring
October 23, 2014
Question

Odd Timer Behavior

  • October 23, 2014
  • 1 reply
  • 299 views

Hi,

I was working on an AIR application today and noticed some odd behavior with the Timer class.  To isolate the problem, I created a stripped down file that contained only a simple timer and the problem persisted.  In a nutshell a timer calls a function 5x that traces "tick" does the following:  The first 2 times the function is called the trace appears as expected but then a delay ensues, perhaps 8 seconds, and then the last three traces ("ticks") appear together.  If I make it a flash file, it works as expected-- all ticks appear 1 second apart. 

I was doing some work in JAVA recently on the same system, and wonder if something I did there (e.g. installing the SDK) may be interfering with the AIR Debug Launcher.

Any ideas will be appreciated.

Best,

C.S.

This topic has been closed for replies.

1 reply

Inspiring
October 24, 2014

Hi,

More testing seems to indicate that the timer is working but that the output (trace) is being delayed.  Has anyone run into problems with the output window not showing traces relative to a Timer?