DelayCall provides a mechanism to have function calls executed after the current event has finished. It is usable for example when a long running task needs to provide progress feedback or to avoid the Flash Player timeout.
An alternative to the internal timer implementation would be to use enter frame events.

| DelayCall | DelayCall provides a mechanism to have function calls executed after the current event has finished. | 
| Private members | |
| delayedCall | Timer object used to trigger the delayed function call. | 
| callbackFunction | Holds a reference to the function to call | 
| callbackContext | Holds a reference to an object used as an argument to the delayed function. | 
| Public methods | |
| DelayCall | Constructs a delayed function call that is triggered after the code executing in current event has finished. | 
| destructor | Cleans up resources used by the delayed call. | 
| callAgain | Call this method from within a delayed function to simulate a recursive loop. | 
| Private methods | |
| callbackHandler | Calls the delayed function with its context argument. | 
public function DelayCall( procedure: Function, context: Object ) 
Constructs a delayed function call that is triggered after the code executing in current event has finished. The context object can be of type object so a number of properties can be passed to the function.
| procedure | The function to call later. | 
| context | A parameter for the function. | 
| procedure | function onDelayCall(context:Object):void | 
Timer object used to trigger the delayed function call.
private var delayedCall: Timer 
Holds a reference to the function to call
private var callbackFunction: Function 
Holds a reference to an object used as an argument to the delayed function.
private var callbackContext: Object 
Constructs a delayed function call that is triggered after the code executing in current event has finished.
public function DelayCall( procedure: Function, context: Object ) 
Cleans up resources used by the delayed call.
public function destructor():void 
Call this method from within a delayed function to simulate a recursive loop.
public function callAgain():void 
Calls the delayed function with its context argument.
private function callbackHandler( event: TimerEvent ):void