Re: [flexcoders] Timers and local CPU

2009-03-06 Thread Tom Chiverton
On Wednesday 04 Mar 2009, markgoldin_2000 wrote: everything is working fine the local CPU is getting allocated to almost 100% sometimes. Is there any chance to optimize such a solution? How often does your timer fire ? Is your item renderer expensive ? -- Tom Chiverton Helping to

Re: [flexcoders] timers and hibernating a pc/mac

2007-04-13 Thread Johannes Nel
the timer is throwing the exception stating that there is an unhandled event, this is i think occurs due to the vm suspending as i do listen to all events on the timer. consistent on all browsers and os's. On 12 Apr 2007 05:59:50 -0700, Troy Gilbert [EMAIL PROTECTED] wrote: Who's throwing

Re: [flexcoders] timers and hibernating a pc/mac

2007-04-12 Thread Troy Gilbert
Who's throwing the exception? Are you getting a Flash Player error, a browser crash... what are you getting on the Mac, for example? Is it different under different browsers? Troy. On 11 Apr 2007 05:58:41 -0700, Johannes Nel [EMAIL PROTECTED] wrote: Hi All when i have a timer running and

RE: [flexcoders] Timers

2005-10-20 Thread Abdul Qabiz
Title: RE: [flexcoders] Timers Hi, Using Timer class is simple: import flash.util.Timer; var timer:Timer = new Timer(500); timer.addEventListener(TimerEventType.TIMER, handleTimerEvent); private function handleTimerEvent(event:TimerEventType) { //your code if(condition

RE: [flexcoders] Timers

2005-10-20 Thread Gordon Smith
Title: RE: [flexcoders] Timers Two corrections... The event handler argument type would be TimerEvent, not TimerEventType, and you'd start with timer with timer.start() rather than Timer.start() because start() is an instance method. I posted a working example of using Timer earlier