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
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
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
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
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
5 matches
Mail list logo