I think its not working right because you have set the continue param to 0.
What happens if you set this to some other value?

On 3/30/07, kumaran_sb <[EMAIL PROTECTED]> wrote:

  Hello flexcoders

this is a related question to my previous one. I'm having trouble
with the flash.utils.Timer which Im using to perform a scheduled
event inside a Flex app. I want the timer to fire every 10 seconds,
continuously till the application is killed.

Unfortunately, however I initialize it, the TimerEvent seems to
fire at every instant of time(i..e it does not seem to respect the
10 second delay). Has anyone seen this issue before ?Here is my code
snippet..

_pingTimer = new Timer(10000,0);
_pingTimer.addEventListener(TimerEvent.TIMER,onTick);
_pingTimer.start();

Any help would be much appreciated.

Thanks
Kumaran




--
I am not a diabetic, I have diabetes
my blog - http://grumpee.instantspot.com/blog

Reply via email to