|
|
|||
Flash Player 8
myTextEditor.doLater( object:Object, func:String, args:Array, delay:Number )
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.
Nothing.
Method. Calls a function after a user-defined number of frames.
The following code will goto and play frame 12 of movieclip 'myMC' after a delay of 3 frames:
myTextEditor.doLater( myMC, "gotoAndPlay", [12], 3 );