Tag Archives: Flash timer

Flash countdown to specific date

May 21, 2010

9 Comments

Flash countdown tutorial Download  source files:  as3 timedate contdown Step 1 Create New Flash File ActionScript 3.0 Select the Selection Tool V Go to Properties tab and press Edit button and set the width of your document to 440 pixels and the height to 175 pixels, set frame rate to 12 fps  and select any [...]

Continue reading...

How to Create a Flash timer with setInterval and clearInterval.

January 15, 2010

1 Comment

setInterval(function,timeout); Calls function every timeout (in miliseconds). Returns intervalId. clearInterval(intervalID); Cancels an interval created by a call to setInterval(). Example: function outoftime() { Edit1 = “Out of time”; clearInterval(interval1); // stop repeating this function } // set 2000 miliseconds timer (2000 ms = 2 seconds) interval1 = setInterval(outoftime,2000); Download source project here (1 kb) Launch [...]

Continue reading...

Create Flash Count Down Timer

January 1, 2010

7 Comments

Step 1 Open new document. Make background for your timer. Step 2 Add text for time (HH:MM:SS:FS) like on picture below. Step 3 Set your text to Dynamic Text. Step 4 Add him a Instance name “count_down” (It’s important to don’t change this name, or you have to change name in code later) Step 5 [...]

Continue reading...