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.

27 Jun, 2006, 23:04 o'clock

Add your own comment or set a trackback

Currently no comments

  1. No comment yet

Add your own comment



Follow comments according to this article through a RSS 2.0 feed

Twitter

Flickr

www.flickr.com
This is a Flickr badge showing public photos from AcidCats. Make your own badge here.