Question
TimerEvent ... how does it get instantiated
hello;
var mcm_A : Function = function( argo_event : TimerEvent )
{ trace("mcm_A");
} ;
var lvo_timer_A : Timer = new Timer( 1000 );
lvo_timer_A.addEventListener( TimerEvent.TIMER , mcm_A ) ;
lvo_timer_A.start();
this works fine but I am not sure I understand why TimerEvent.TIMER is firing;
is it only firing because it has a Timer registered to it ??
or does it always just keep firing every single millisecond and then check to see if at that ms there exists a registered Timer that it should callback?
any thoughts?
thanks
dsdsdsdsd
var mcm_A : Function = function( argo_event : TimerEvent )
{ trace("mcm_A");
} ;
var lvo_timer_A : Timer = new Timer( 1000 );
lvo_timer_A.addEventListener( TimerEvent.TIMER , mcm_A ) ;
lvo_timer_A.start();
this works fine but I am not sure I understand why TimerEvent.TIMER is firing;
is it only firing because it has a Timer registered to it ??
or does it always just keep firing every single millisecond and then check to see if at that ms there exists a registered Timer that it should callback?
any thoughts?
thanks
dsdsdsdsd