I know that leaving that argument off completely results in a continuous
timer.  Try that.

 

Here is an example of a timer, perhaps you will see what is different
from your code.
http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectI
D=578

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of kumaran_sb
Sent: Friday, March 30, 2007 10:53 AM
To: [email protected]
Subject: [flexcoders] Re: Problem with flash.Utils.Timer

 

Hi the online documentation at Adobe has recommended setting the value
= 0 to make the loop run continuously.

Cheers
Kumaran
--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Clint Tredway" <[EMAIL PROTECTED]> wrote:
>
> 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
<http://grumpee.instantspot.com/blog> 
>

 

Reply via email to