Also, depending on what you are trying to do, <animator> offers a higher-level interface and the ability to create a repeating loop.
On 2011-04-25, at 20:46, Chris Janik wrote: > It looks like this > lz.Timer.addTimer( new LzDelegate( this, "changeCard" ), 15000 ); > > the format from the documentation > > I'm going to try your suggestion. I assume this.stillDownDelegate is the > method called? > > Chris > > > On 11-04-25 08:43 PM, Henry Minsky wrote: >> what does your code look like? >> >> a call like >> lz.Timer.addTimer( this.stillDownDelegate, 500 ); >> pushes the delegate onto a list at worst, and that entry (not the >> delegate) will be garbage collected when the timer fires. >> >> >> >> On Mon, Apr 25, 2011 at 8:25 PM, Chris Janik <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hey All, >> >> What happens when a timer finishes it's count? I want to create a >> timed >> loop but every time it runs I'm creating a new timer. I'm worried that >> if this goes on for a while it will really get bloated. >> >> Any thoughts would be very much appreciated >> >> -- >> Chris >> >> >> >> >> -- >> Henry Minsky >> Software Architect >> [email protected] <mailto:[email protected]> >> >>
