Search tutorials
In the first frame make a Dynamic text box, and set the var "time_left". Add this Action script to the frame:
stop();
setInterval(countdown, 1000);
time_left = 10;
function countdown() {
time_left = time_left-1;
if (time_left<=0) {
gotoAndStop(2);
}
}
Make a new frame and write something in it... Now it counts down from 10 to 0. If it doesn't work, look at the fla.
| » Level Basic |
|
Added: 2006-08-12 Rating: 7.44 Votes: 25 |
| » Author |
| I like flash |
| » Download |
| Download the files used in this tutorial. |
| Download (5 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!