Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
PHP Countdown for 2001/2002/2003-2099
Author: Christian Koechy
| Website: http://www.shck.de |
First we create a new movie with 4 frames and 2 layers (Actions and Ebene
1).
In the first frame we write this actionscript:

// Copyright http://www.shck.de
loadVariablesNum ("shckcount.php?r="+random(9999), 0);
shcknjahr = Number(shckjahr)+Number(1);
shckaday = Number(364);
if (Number(shckjahr)/4 == int(Number(shckjahr)/4)) {
shckaday = Number(365);
}
shcktarget = ((shckaday-Number(1))*24*60*60)+(23*60*60)+(59*60)+60;
shcknow = ((shckyday-Number(1))*24*60*60)+(shckstun*60*60)+(shckmin*60)+Number(shcksek);
shckcount = Number(shcktarget)-Number(shcknow)+Number(1);
x = shcksek;
if (x>0) {
gotoAndPlay (3);
}
shckcount.php is the php-file in the same directory which includes all
variables.
x=shcksek;
if(x>0) {
gotoAndPlay(3)
}
This 'if' is for the loaded variables, if shcksek = 0 (variables from php are
not downloaded) goto next frame.
| » Level Basic |
|
|
Added: : 2001-12-26
Rating: 9.50 Votes: 393
Hits: 6354
|
| » Author |
|
i am 23. german flasher.
flash all day long.
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (50 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|