In the series “Oneliners for Flash” this is a handy one for stopping the current timeline for a while and continuing after a certain amount of time. A nice replacement of endless inserted frames:
stop(); var interval:Number = setInterval(function () : Void {clearInterval(interval); play();}, 2000);
The number at the end, 2000, is the number of milliseconds to wait before continuing. Place this line of code in any key frame where you want to wait, and set the right number of milliseconds. Bannerfriendly and reasonably low in maintenance.
No comment yet