FlashTextEditor.doLater

Availability

Flash Player 8

Usage

myTextEditor.doLater( object:Object, func:String, args:Array, delay:Number )

Parameters

object - Object. The object to which myFunction is applied.
func - String. Name of the function.
args - Array. Arguments passed to the function.
delay - Number. Number of frames to postpone the execution of the function.

Returns

Nothing.

Description

Method. Calls a function after a user-defined number of frames.

Example

The following code will goto and play frame 12 of movieclip 'myMC' after a delay of 3 frames:

myTextEditor.doLater( myMC, "gotoAndPlay", [12], 3 );