Monday, May 15, 2006

setInterval

/* My friend in NYC helped teach me how to use this. It's about time I
learned to do it the right way.

import mx.utils.Delegate


//Interval for timer
myInterval = setInterval(Delegate.create(this, moveToNextFrame), 4500);


//function for timer
function moveToNextFrame():Void{
gotoAndPlay('nextFrame');
clearInterval(myinterval);

}
*/

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home