Comments on: AS3 Kitchen – Timer and ENTER_FRAME https://www.nivas.hr/blog/2006/11/27/as3-kitchen-timer-and-enter_frame/ This is a blog from the Nivas.hr crew to the galaxy of unknown. Thu, 23 Jan 2014 12:41:01 +0000 hourly 1 https://wordpress.org/?v=5.8.2 By: seven https://www.nivas.hr/blog/2006/11/27/as3-kitchen-timer-and-enter_frame/comment-page-1/#comment-756328 Thu, 23 Jan 2014 12:41:01 +0000 https://www.nivas.hr/blog/2006/11/27/as3-kitchen-timer-and-enter_frame/#comment-756328 @Umer all enter frame events are triggering at the same time, defined in FPS of the main Flash movie.

So eg, if you have set up 35 FPS movie, all enter frames events will in theory dispatch enter frame event 35 times in second. In reality, it depends on complexity of your animations, hardware of the client etc.

If you need more detailed timings you should use the Timer function to call a method at independent way from enter frame.

eg:

var timer:Timer = new Timer(1000, 0);
timer.addEventListener(TimerEvent.TIMER, timerHandler);
timer.start();

private function timerHandler(event:TimerEvent):void
{
// do something

event.updateAfterEvent();

}

]]>
By: Umer https://www.nivas.hr/blog/2006/11/27/as3-kitchen-timer-and-enter_frame/comment-page-1/#comment-756302 Sat, 26 Oct 2013 20:52:31 +0000 https://www.nivas.hr/blog/2006/11/27/as3-kitchen-timer-and-enter_frame/#comment-756302 how would I specify interval( time ) in Enter_Frame , like in Timer class you can specify time
in my application I need to use multiple Enter_Frame with differnet time

]]>
By: seven https://www.nivas.hr/blog/2006/11/27/as3-kitchen-timer-and-enter_frame/comment-page-1/#comment-755788 Sat, 28 Apr 2012 11:01:34 +0000 https://www.nivas.hr/blog/2006/11/27/as3-kitchen-timer-and-enter_frame/#comment-755788 On top of the site, you’we got a link called Contact. :)

]]>