Frame 1
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
Frame 2
ifFrameLoaded (85) {
gotoAndPlay (5);
}
Frame 3
prevFrame();
play();
Frame 23
stop();
Frame 32
stop();
Frame 37
stop();
tellTarget ("/crash-con") {
gotoAndPlay (1);
}
Frame 41
tellTarget ("/surfman") {
gotoAndPlay ("fly");
};
tellTarget ("/score") {
if ("0" < /score:score) {
gotoAndPlay ("deduct");
}
}
Frame 56
gotoAndPlay (37);
Frame 57
tellTarget ("/surfman") {
gotoAndPlay ("crash");
}
Frame 74
gotoAndPlay (37);
Frame 75
tellTarget ("/surfman") {
gotoAndPlay ("swim");
}
Frame 76
if ("240" >= getProperty("/surfman", _y)) {
setProperty("/surfman", _y , getProperty("/surfman", _y) + "3");
} else {
gotoAndStop (88);
}
Frame 77
prevFrame();
play();
Frame 88
stop();
r1 = (random("500") + random("700")) + "800";
r2 = (random("500") + random("700")) + "800";
if (((r1 < /score:score) and (r2 < /score:score)) and (r2 < r1)) {
tellTarget ("/rank") {
gotoAndStop (1);
};
} else if (((r1 < /score:score) and (r2 < /score:score)) and (r1 < r2)) {
tellTarget ("/rank") {
gotoAndStop (2);
};
} else if (((r2 < r1) and (/score:score < r1)) and (r2 < /score:score)) {
tellTarget ("/rank") {
gotoAndStop (3);
};
} else if (((r2 < r1) and (/score:score < r1)) and (r2 >= /score:score)) {
tellTarget ("/rank") {
gotoAndStop (4);
};
} else if (((r1 < r2) and (/score:score < r2)) and (/score:score < r1)) {
tellTarget ("/rank") {
gotoAndStop (5);
};
} else if (((r1 < r2) and (/score:score < r2)) and (r1 < /score:score)) {
tellTarget ("/rank") {
gotoAndStop (6);
};
}
Symbol 18 Button
on (press) {
getURL ("http://www.ozemail.com.au/~webartstudio", "_blank");
}
Symbol 24 Button
on (press) {
getURL ("http://www.ozemail.com.au/~webartstudio", "_blank");
}
Symbol 29 Button
on (press) {
getURL ("mailto:samy_liu@yahoo.com?subject=Mail from Fun Surfing");
}
Symbol 39 Button
on (press) {
gotoAndPlay (35);
}
Symbol 44 Button
on (press) {
gotoAndStop (32);
}
Symbol 100 MovieClip Frame 4
gotoAndPlay (1);
Symbol 100 MovieClip Frame 7
gotoAndPlay (1);
Symbol 100 MovieClip Frame 10
gotoAndPlay (1);
Symbol 100 MovieClip Frame 18
gotoAndPlay (11);
Symbol 100 MovieClip Frame 51
gotoAndPlay (2);
Symbol 100 MovieClip Frame 70
gotoAndPlay (2);
Symbol 129 MovieClip Frame 1
ox1 = getProperty("../surfman", _x) - "25";
ox2 = getProperty("../surfman", _x) + "25";
oy1 = getProperty("../surfman", _y) - "25";
oy2 = getProperty("../surfman", _y) + "20";
if ((((ox1 < getProperty("../bird-1", _x)) and (getProperty("../bird-1", _x) < ox2)) and (oy1 < getProperty("../bird-1", _y))) and (getProperty("../bird-1", _y) < oy2)) {
setProperty("../bird-1", _x , "550");
gotoAndStop (10);
}
if ((((ox1 < getProperty("../bird-2", _x)) and (getProperty("../bird-2", _x) < ox2)) and (oy1 < getProperty("../bird-2", _y))) and (getProperty("../bird-2", _y) < oy2)) {
setProperty("../bird-2", _x , "550");
gotoAndStop (10);
}
if ((((ox1 < getProperty("../wood-1", _x)) and (getProperty("../wood-1", _x) < ox2)) and (oy1 < getProperty("../wood-1", _y))) and (getProperty("../wood-1", _y) < oy2)) {
setProperty("../wood-1", _x , "550");
gotoAndStop (10);
}
if ((((ox1 < getProperty("../wood-2", _x)) and (getProperty("../wood-2", _x) < ox2)) and (oy1 < getProperty("../wood-2", _y))) and (getProperty("../wood-2", _y) < oy2)) {
setProperty("../wood-2", _x , "550");
gotoAndStop (10);
}
if ((((getProperty("../shark-1", _x) < ox2) and (ox1 < getProperty("../shark-1", _x))) and (oy1 < getProperty("../shark-1", _y))) and (getProperty("../shark-1", _y) < oy2)) {
setProperty("../shark-1", _x , "550");
gotoAndStop (10);
}
if ((((getProperty("../shark-2", _x) < ox2) and (ox1 < getProperty("../shark-2", _x))) and (oy1 < getProperty("../shark-2", _y))) and (getProperty("../shark-2", _y) < oy2)) {
setProperty("../shark-2", _x , "550");
gotoAndStop (10);
}
if ((((ox1 < getProperty("../surfer", _x)) and (getProperty("../surfer", _x) < ox2)) and (oy1 < getProperty("../surfer", _y))) and (getProperty("../surfer", _y) < oy2)) {
setProperty("../surfer", _x , "550");
gotoAndStop (10);
}
if ((((ox1 < getProperty("../bottle-1", _x)) and (getProperty("../bottle-1", _x) < ox2)) and (oy1 < (getProperty("../bottle-1", _y) + "10"))) and ((getProperty("../bottle-1", _y) + "10") < oy2)) {
setProperty("../bottle-1", _x , "550");
tellTarget ("../score") {
gotoAndPlay (2);
};
}
if ((((ox1 < getProperty("../bottle-2", _x)) and (getProperty("../bottle-2", _x) < ox2)) and (oy1 < getProperty("../bottle-2", _y))) and (getProperty("../bottle-2", _y) < oy2)) {
setProperty("../bottle-2", _x , "550");
tellTarget ("../score") {
gotoAndPlay (2);
};
}
Symbol 129 MovieClip Frame 2
gotoAndPlay (1);
Symbol 129 MovieClip Frame 10
tellTarget ("../") {
gotoAndPlay ("4-b");
}
Symbol 129 MovieClip Frame 30
gotoAndPlay (1);
Symbol 132 Button
on (keyPress "m") {
tellTarget ("/surfman") {
gotoAndPlay ("right");
if ("380" >= getProperty("/surfman", _x)) {
setProperty("/surfman", _x , getProperty("/surfman", _x) + "10");
}
}
}
on (keyPress "n") {
tellTarget ("/surfman") {
gotoAndPlay ("left");
if (getProperty("/surfman", _x) >= "25") {
setProperty("../surfman", _x , getProperty("/surfman", _x) - "10");
}
}
}
on (keyPress "<Space>") {
gotoAndPlay (41);
}
Symbol 135 MovieClip Frame 1
time = "60";
Symbol 135 MovieClip Frame 13
time = time - "1";
Symbol 135 MovieClip Frame 25
time = time - "1";
Symbol 135 MovieClip Frame 37
time = time - "1";
Symbol 135 MovieClip Frame 49
time = time - "1";
Symbol 135 MovieClip Frame 61
time = time - "1";
Symbol 135 MovieClip Frame 73
time = time - "1";
Symbol 135 MovieClip Frame 85
time = time - "1";
Symbol 135 MovieClip Frame 97
time = time - "1";
Symbol 135 MovieClip Frame 109
time = time - "1";
Symbol 135 MovieClip Frame 121
time = time - "1";
Symbol 135 MovieClip Frame 133
time = time - "1";
Symbol 135 MovieClip Frame 145
time = time - "1";
Symbol 135 MovieClip Frame 157
time = time - "1";
Symbol 135 MovieClip Frame 169
time = time - "1";
Symbol 135 MovieClip Frame 181
time = time - "1";
Symbol 135 MovieClip Frame 193
time = time - "1";
Symbol 135 MovieClip Frame 205
time = time - "1";
Symbol 135 MovieClip Frame 217
time = time - "1";
Symbol 135 MovieClip Frame 229
time = time - "1";
Symbol 135 MovieClip Frame 241
time = time - "1";
Symbol 135 MovieClip Frame 253
time = time - "1";
Symbol 135 MovieClip Frame 265
time = time - "1";
Symbol 135 MovieClip Frame 277
time = time - "1";
Symbol 135 MovieClip Frame 289
time = time - "1";
Symbol 135 MovieClip Frame 301
time = time - "1";
Symbol 135 MovieClip Frame 313
time = time - "1";
Symbol 135 MovieClip Frame 325
time = time - "1";
Symbol 135 MovieClip Frame 337
time = time - "1";
Symbol 135 MovieClip Frame 349
time = time - "1";
Symbol 135 MovieClip Frame 361
time = time - "1";
Symbol 135 MovieClip Frame 373
time = time - "1";
Symbol 135 MovieClip Frame 385
time = time - "1";
Symbol 135 MovieClip Frame 397
time = time - "1";
Symbol 135 MovieClip Frame 409
time = time - "1";
Symbol 135 MovieClip Frame 421
time = time - "1";
Symbol 135 MovieClip Frame 433
time = time - "1";
Symbol 135 MovieClip Frame 445
time = time - "1";
Symbol 135 MovieClip Frame 457
time = time - "1";
Symbol 135 MovieClip Frame 469
time = time - "1";
Symbol 135 MovieClip Frame 481
time = time - "1";
Symbol 135 MovieClip Frame 493
time = time - "1";
Symbol 135 MovieClip Frame 505
time = time - "1";
Symbol 135 MovieClip Frame 517
time = time - "1";
Symbol 135 MovieClip Frame 529
time = time - "1";
Symbol 135 MovieClip Frame 541
time = time - "1";
Symbol 135 MovieClip Frame 553
time = time - "1";
Symbol 135 MovieClip Frame 565
time = time - "1";
Symbol 135 MovieClip Frame 577
time = time - "1";
Symbol 135 MovieClip Frame 589
time = time - "1";
Symbol 135 MovieClip Frame 601
time = time - "1";
Symbol 135 MovieClip Frame 613
time = time - "1";
Symbol 135 MovieClip Frame 625
time = time - "1";
Symbol 135 MovieClip Frame 637
time = time - "1";
Symbol 135 MovieClip Frame 649
time = time - "1";
Symbol 135 MovieClip Frame 661
time = time - "1";
Symbol 135 MovieClip Frame 673
time = time - "1";
Symbol 135 MovieClip Frame 685
time = time - "1";
Symbol 135 MovieClip Frame 697
time = time - "1";
Symbol 135 MovieClip Frame 709
time = time - "1";
Symbol 135 MovieClip Frame 721
time = time - "1";
Symbol 135 MovieClip Frame 732
stop();
tellTarget ("../") {
gotoAndPlay ("finish");
}
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
score = score + "200";
Symbol 139 MovieClip Frame 3
gotoAndStop (1);
Symbol 139 MovieClip Frame 5
score = score - "250";
Symbol 141 MovieClip Frame 1
tf1 = random("3");
s1 = random("10") + "5";
x1 = random("350") + "30";
if ("0" < tf1) {
setProperty("../bottle-1", _alpha , "100");
setProperty("../bottle-1", _x , x1);
setProperty("../bottle-1", _y , "350");
} else {
gotoAndPlay (24);
}
Symbol 141 MovieClip Frame 2
setProperty("../bottle-1", _y , getProperty("../bottle-1", _y) - s1);
Symbol 141 MovieClip Frame 3
if (getProperty("../bottle-1", _y) >= "100") {
prevFrame();
play();
} else {
setProperty("../bottle-1", _alpha , "0");
setProperty("../bottle-1", _x , "450");
nextFrame();
play();
}
Symbol 141 MovieClip Frame 23
gotoAndPlay (1);
Symbol 143 MovieClip Frame 1
tf2 = random("3");
s2 = random("5") + "5";
s2a = random("5") + "3";
x2 = random("100") + "20";
if ("0" < tf2) {
setProperty("../bottle-2", _alpha , "100");
setProperty("../bottle-2", _x , x2);
setProperty("../bottle-2", _y , "300");
} else {
gotoAndPlay (40);
}
Symbol 143 MovieClip Frame 2
setProperty("../bottle-2", _x , getProperty("../bottle-2", _x) + s2);
setProperty("../bottle-2", _y , getProperty("../bottle-2", _y) - s2a);
Symbol 143 MovieClip Frame 3
if (getProperty("../bottle-2", _x) >= "450") {
setProperty("../bottle-2", _alpha , "0");
nextFrame();
play();
} else if ("120" >= getProperty("../bottle-2", _y)) {
setProperty("../bottle-2", _alpha , "0");
setProperty("../bottle-2", _x , "450");
nextFrame();
play();
} else {
prevFrame();
play();
}
Symbol 143 MovieClip Frame 39
gotoAndPlay (1);
Symbol 145 MovieClip Frame 1
tf3 = random("3");
s3 = random("5") + "5";
x3 = random("350") + "30";
if ("0" < tf3) {
setProperty("../wood-1", _alpha , "100");
setProperty("../wood-1", _x , x3);
setProperty("../wood-1", _y , "350");
} else {
gotoAndPlay (29);
}
Symbol 145 MovieClip Frame 2
setProperty("../wood-1", _y , getProperty("../wood-1", _y) - s3);
Symbol 145 MovieClip Frame 3
if (getProperty("../wood-1", _y) >= "100") {
prevFrame();
play();
} else {
setProperty("../wood-1", _alpha , "0");
setProperty("../wood-1", _x , "480");
nextFrame();
play();
}
Symbol 145 MovieClip Frame 28
gotoAndPlay (1);
Symbol 147 MovieClip Frame 1
tf4 = random("3");
s4 = random("10") + "5";
x4 = random("350") + "30";
if ("0" < tf4) {
setProperty("../wood-2", _alpha , "100");
setProperty("../wood-2", _x , x4);
setProperty("../wood-2", _y , "350");
} else {
gotoAndPlay (27);
}
Symbol 147 MovieClip Frame 2
setProperty("../wood-2", _y , getProperty("../wood-2", _y) - s4);
Symbol 147 MovieClip Frame 3
if (getProperty("../wood-2", _y) >= "100") {
prevFrame();
play();
} else {
setProperty("../wood-2", _alpha , "0");
setProperty("../wood-2", _x , "510");
nextFrame();
play();
}
Symbol 147 MovieClip Frame 26
gotoAndPlay (1);
Symbol 149 MovieClip Frame 1
tf5 = random("3");
s5 = random("10") + "5";
s5a = random("10") + "5";
x5 = random("100") + "20";
if ("0" < tf5) {
setProperty("../bird-1", _alpha , "100");
setProperty("../bird-1", _x , x5);
setProperty("../bird-1", _y , "300");
} else {
gotoAndPlay (40);
}
Symbol 149 MovieClip Frame 2
setProperty("../bird-1", _x , getProperty("../bird-1", _x) + s5);
setProperty("../bird-1", _y , getProperty("../bird-1", _y) - s5a);
Symbol 149 MovieClip Frame 3
if (getProperty("../bird-1", _x) >= "450") {
setProperty("../bird-1", _alpha , "0");
nextFrame();
play();
} else if ("120" >= getProperty("../bird-1", _y)) {
setProperty("../bird-1", _alpha , "0");
setProperty("../bird-1", _x , "450");
nextFrame();
play();
} else {
prevFrame();
play();
}
Symbol 149 MovieClip Frame 39
gotoAndPlay (1);
Symbol 151 MovieClip Frame 1
tf6 = random("3");
s6 = random("20") + "5";
s6a = random("5") + "1";
x6 = random("200") + "350";
if ("0" < tf6) {
setProperty("../bird-2", _alpha , "100");
setProperty("../bird-2", _x , x6);
setProperty("../bird-2", _y , "300");
} else {
gotoAndPlay (50);
}
Symbol 151 MovieClip Frame 2
setProperty("../bird-2", _x , getProperty("../bird-2", _x) - s6);
setProperty("../bird-2", _y , getProperty("../bird-2", _y) - s6a);
Symbol 151 MovieClip Frame 3
if ("0" >= getProperty("../bird-2", _x)) {
setProperty("../bird-2", _alpha , "0");
nextFrame();
play();
} else if ("120" >= getProperty("../bird-2", _y)) {
setProperty("../bird-2", _alpha , "0");
setProperty("../bird-2", _x , "450");
nextFrame();
play();
} else {
prevFrame();
play();
}
Symbol 151 MovieClip Frame 49
gotoAndPlay (1);
Symbol 153 MovieClip Frame 1
tf7 = random("3");
s7 = random("20") + "5";
s7a = random("5") + "5";
x7 = (random("100") + random("200")) + "200";
if ("0" < tf7) {
setProperty("../surfer", _alpha , "100");
setProperty("../surfer", _x , x7);
setProperty("../surfer", _y , "300");
} else {
gotoAndPlay (86);
}
Symbol 153 MovieClip Frame 2
setProperty("../surfer", _x , getProperty("../surfer", _x) - s7);
setProperty("../surfer", _y , getProperty("../surfer", _y) - s7a);
Symbol 153 MovieClip Frame 3
if ("0" >= getProperty("../surfer", _x)) {
setProperty("../surfer", _alpha , "0");
nextFrame();
play();
} else if ("120" >= getProperty("../surfer", _y)) {
setProperty("../surfer", _alpha , "0");
setProperty("../surfer", _x , "450");
nextFrame();
play();
} else {
prevFrame();
play();
}
Symbol 153 MovieClip Frame 85
gotoAndPlay (1);
Symbol 155 MovieClip Frame 1
tf8 = random("5");
s8 = random("6") + "3";
s8a = random("10") + "2";
x8 = random("250") + "150";
if (tf8 == "1") {
setProperty("../shark-1", _alpha , "100");
setProperty("../shark-1", _x , x8);
setProperty("../shark-1", _y , "120");
} else {
gotoAndPlay (42);
}
Symbol 155 MovieClip Frame 2
setProperty("../shark-1", _x , getProperty("../shark-1", _x) - s8);
setProperty("../shark-1", _y , getProperty("../shark-1", _y) + s8a);
Symbol 155 MovieClip Frame 3
if ("0" >= getProperty("../shark-1", _x)) {
setProperty("../shark-1", _alpha , "0");
nextFrame();
play();
} else if (getProperty("../shark-1", _y) >= "400") {
setProperty("../shark-1", _alpha , "0");
setProperty("../shark-1", _x , "450");
nextFrame();
play();
} else {
prevFrame();
play();
}
Symbol 155 MovieClip Frame 41
gotoAndPlay (1);
Symbol 157 MovieClip Frame 1
tf9 = random("3");
s9 = random("10") + "1";
s9a = random("5") + "1";
x9 = random("250");
if (tf9 == "2") {
setProperty("../shark-2", _alpha , "100");
setProperty("../shark-2", _x , x9);
setProperty("../shark-2", _y , "120");
} else {
gotoAndPlay (67);
}
Symbol 157 MovieClip Frame 2
setProperty("../shark-2", _x , getProperty("../shark-2", _x) + s9);
setProperty("../shark-2", _y , getProperty("../shark-2", _y) + s9a);
Symbol 157 MovieClip Frame 3
if (getProperty("../shark-2", _x) >= "400") {
setProperty("../shark-2", _alpha , "0");
nextFrame();
play();
} else if (getProperty("../shark-2", _y) >= "300") {
setProperty("../shark-2", _alpha , "0");
setProperty("../shark-2", _x , "450");
nextFrame();
play();
} else {
prevFrame();
play();
}
Symbol 157 MovieClip Frame 66
gotoAndPlay (1);
Symbol 165 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 2
stop();
Symbol 165 MovieClip Frame 3
stop();
Symbol 165 MovieClip Frame 4
stop();
Symbol 165 MovieClip Frame 5
stop();
Symbol 165 MovieClip Frame 6
stop();
Symbol 170 Button
on (press) {
gotoAndStop (32);
}