Archive

Posts Tagged ‘frame’

Execute An AS3 Function After Exactly One Frame – DelayedFunctionQueue

April 6th, 2009 shaun View Comments

I asked this question on Stack Overflow:

What’s the best way to execute a function after exactly one frame?

Based on the feedback I wrote a little class to make it super easy to do. You add function references to a queue, and those functions get called (in the order they were added) on the next Flash Player Frame.

Herewith, the DelayedFunctionQueue.as

Read more…

Categories: Code Tags: , , , ,