Frame 1
play();
movy = -"0.5";
movx = "0";
Frame 2
totalframes = _totalframes;
Frame 3
setProperty("/loadingbar/bar", _visible , "0");
Frame 6
if (_framesloaded < totalframes) {
setProperty("/loadingbar/bar", _visible , "1");
setProperty("/loadingbar/bar", _xscale , (_framesloaded / totalframes) * "100");
gotoAndPlay(_currentframe - "2");
}
Frame 7
stop();
movy = -"0.5";
movx = "0";
Frame 8
play();
score = "0";
fuel = "1000";
gravity = "20";
elastic = "0.2";
thrust = "11";
tension = "0.02";
tractorlength = "15";
tractorthreshold = "75";
tolerance = "75";
fuelsize = "50";
friction = "0.8";
Frame 9
text = "Stage " add /:level;
Frame 29
ready = "0";
movx = "0";
movy = "0";
forcex = "0";
forcey = "0";
setProperty("/fuelgauge/bar", _xscale , /:fuel / "10");
if (fuel < "1") {
gotoAndPlay (144);
}
Frame 34
tellTarget ("/ball") {
_x = (/terrain/:startx + getProperty("/terrain/orbmarker/", _x));
_y = (/terrain/:starty + getProperty("/terrain/orbmarker/", _y));
}
Frame 52
stop();
Frame 59
if (/ufo1/:done <> "1") {
tellTarget ("/livesleft") {
nextFrame();
};
gotoAndPlay (29);
} else if (/terrain/:currentlevel < /:level) {
gotoAndPlay (85);
}
Frame 84
tellTarget ("/livesleft") {
nextFrame();
};
gotoAndPlay (29);
Frame 117
if ("4" < /:level) {
gotoAndStop (170);
} else {
gotoAndPlay (9);
}
Frame 143
gotoAndStop (7);
Frame 169
gotoAndPlay (118);
Frame 170
stop();
movy = -"0.5";
movx = "0";
Frame 172
prevFrame();
Frame 173
nextFrame();
Frame 174
movy = -"0.5";
movx = "0";
Symbol 3 MovieClip Frame 1
perspective = _xscale / "300";
gotoAndPlay (2);
Symbol 3 MovieClip Frame 2
_x = (_x + (/:movx * perspective));
_y = (_y + (/:movy * perspective));
Symbol 3 MovieClip Frame 3
gotoAndPlay (2);
Symbol 20 Button
on (press) {
viewing_highscores = "0";
level = "1";
score = "0";
movy = "0";
movx = "0";
play();
}
Symbol 23 Button
on (press) {
viewing_highscores = "1";
score = "0";
gotoAndStop (170);
}
Symbol 27 Button
on (press) {
gotoAndStop (174);
}
Symbol 31 Button
on (press) {
getURL ("http://spikything.com", "_blank");
}
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 5
tellTarget ("/") {
gotoAndPlay ("gameover");
}
Symbol 43 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 1
width = _width / "2";
height = _height / "2";
x1 = _x;
y1 = _y;
_visible = "0";
gotoAndPlay (2);
Symbol 51 MovieClip Frame 2
x = getProperty("/ufo1/", _x);
y = getProperty("/ufo1/", _y);
myx = x1 + ../:x;
myy = y1 + ../:y;
dx = myx - x;
dy = myy - y;
xtolerance = width + /:ufowidth;
ytolerance = height + /:ufoheight;
if ((((dx < xtolerance) and ((-xtolerance) < dx)) and (dy < ytolerance)) and ((-ytolerance) < dy)) {
call("crash");
}
Symbol 51 MovieClip Frame 4
gotoAndPlay (2);
Symbol 51 MovieClip Frame 5
Set("/ufo1/:vy", "0");
unloadMovie ("/line");
unloadMovie ("/tether");
Set("/ufo1/:vx", "0");
tellTarget ("/ufo1/gfx") {
play();
}
Symbol 51 MovieClip Frame 7
x = getProperty("/ball/", _x);
y = getProperty("/ball/", _y);
myx = x1 + ../:x;
myy = y1 + ../:y;
dx = myx - x;
dy = myy - y;
xtolerance = width;
ytolerance = height;
if ((((dx < xtolerance) and ((-xtolerance) < dx)) and (dy < ytolerance)) and ((-ytolerance) < dy)) {
unloadMovie ("/ball");
call("crash");
}
Symbol 54 MovieClip Frame 1
width = _width / "2";
height = _height / "2";
x1 = _x;
y1 = _y;
m = height / width;
_visible = "0";
gotoAndPlay (2);
Symbol 54 MovieClip Frame 2
x = getProperty("/ufo1/", _x);
y = getProperty("/ufo1/", _y);
myx = x1 + ../:x;
myy = y1 + ../:y;
top = myy - height;
right = myx + width;
dx = myx - x;
dy = myy - y;
slope = (right - x) * m;
xtolerance = width + /:ufowidth;
ytolerance = height + /:ufoheight;
if (((((dx < xtolerance) and ((-xtolerance) < dx)) and (dy < ytolerance)) and ((-ytolerance) < dy)) and ((top + slope) < y)) {
call("crash");
}
Symbol 54 MovieClip Frame 4
gotoAndPlay (2);
Symbol 54 MovieClip Frame 5
Set("/ufo1/:vy", "0");
unloadMovie ("/line");
unloadMovie ("/tether");
Set("/ufo1/:vx", "0");
tellTarget ("/ufo1/gfx") {
play();
}
Symbol 54 MovieClip Frame 7
x = getProperty("/ball/", _x);
y = getProperty("/ball/", _y);
myx = x1 + ../:x;
myy = y1 + ../:y;
dx = myx - x;
dy = myy - y;
xtolerance = width;
ytolerance = height;
if (((((dx < xtolerance) and ((-xtolerance) < dx)) and (dy < ytolerance)) and ((-ytolerance) < dy)) and ((top + slope) < y)) {
unloadMovie ("/ball");
call("crash");
}
Symbol 57 MovieClip Frame 1
width = _width / "2";
height = _height / "2";
x1 = _x;
y1 = _y;
m = height / width;
_visible = "0";
gotoAndPlay (2);
Symbol 57 MovieClip Frame 2
x = getProperty("/ufo1/", _x);
y = getProperty("/ufo1/", _y);
myx = x1 + ../:x;
myy = y1 + ../:y;
top = myy - height;
left = myx - width;
dx = myx - x;
dy = myy - y;
slope = (x - left) * m;
xtolerance = width + /:ufowidth;
ytolerance = height + /:ufoheight;
if (((((dx < xtolerance) and ((-xtolerance) < dx)) and (dy < ytolerance)) and ((-ytolerance) < dy)) and ((top + slope) < y)) {
call("crash");
}
Symbol 57 MovieClip Frame 4
gotoAndPlay (2);
Symbol 57 MovieClip Frame 5
Set("/ufo1/:vy", "0");
unloadMovie ("/line");
unloadMovie ("/tether");
Set("/ufo1/:vx", "0");
tellTarget ("/ufo1/gfx") {
play();
}
Symbol 57 MovieClip Frame 7
if (/ufo1/:tethered) {
x = getProperty("/ball/", _x);
y = getProperty("/ball/", _y);
myx = x1 + ../:x;
myy = y1 + ../:y;
dx = myx - x;
dy = myy - y;
xtolerance = width;
ytolerance = height;
if (((((dx < xtolerance) and ((-xtolerance) < dx)) and (dy < ytolerance)) and ((-ytolerance) < dy)) and ((top + slope) < y)) {
unloadMovie ("/ball");
call("crash");
}
}
Symbol 59 MovieClip Frame 1
_visible = "0";
Symbol 65 MovieClip Frame 1
width = _width / "2";
height = _height / "2";
x1 = _x;
y1 = _y;
m = height / width;
_visible = "0";
gotoAndPlay (2);
Symbol 65 MovieClip Frame 2
x = getProperty("/ufo1/", _x);
y = getProperty("/ufo1/", _y);
myx = x1 + ../:x;
myy = y1 + ../:y;
bottom = myy + height;
right = myx + width;
dx = myx - x;
dy = myy - y;
slope = (right - x) * m;
xtolerance = width + /:ufowidth;
ytolerance = height + /:ufoheight;
if (((((dx < xtolerance) and ((-xtolerance) < dx)) and (dy < ytolerance)) and ((-ytolerance) < dy)) and (y < (bottom - slope))) {
call("crash");
}
Symbol 65 MovieClip Frame 4
gotoAndPlay (2);
Symbol 65 MovieClip Frame 5
Set("/ufo1/:vy", "0");
unloadMovie ("/line");
unloadMovie ("/tether");
Set("/ufo1/:vx", "0");
tellTarget ("/ufo1/gfx") {
play();
}
Symbol 65 MovieClip Frame 7
x = getProperty("/ball/", _x);
y = getProperty("/ball/", _y);
myx = x1 + ../:x;
myy = y1 + ../:y;
dx = myx - x;
dy = myy - y;
xtolerance = width;
ytolerance = height;
if (((((dx < xtolerance) and ((-xtolerance) < dx)) and (dy < ytolerance)) and ((-ytolerance) < dy)) and (y < (bottom - slope))) {
unloadMovie ("/ball");
call("crash");
}
Symbol 70 MovieClip Frame 1
width = _width / "2";
height = _height / "2";
x1 = _x;
y1 = _y;
m = height / width;
_visible = "0";
gotoAndPlay (2);
Symbol 70 MovieClip Frame 2
x = getProperty("/ufo1/", _x);
y = getProperty("/ufo1/", _y);
myx = x1 + ../:x;
myy = y1 + ../:y;
bottom = myy + height;
left = myx - width;
dx = myx - x;
dy = myy - y;
slope = (x - left) * m;
xtolerance = width + /:ufowidth;
ytolerance = height + /:ufoheight;
if (((((dx < xtolerance) and ((-xtolerance) < dx)) and (dy < ytolerance)) and ((-ytolerance) < dy)) and (y < (bottom - slope))) {
call("crash");
}
Symbol 70 MovieClip Frame 4
gotoAndPlay (2);
Symbol 70 MovieClip Frame 5
Set("/ufo1/:vy", "0");
unloadMovie ("/line");
unloadMovie ("/tether");
Set("/ufo1/:vx", "0");
tellTarget ("/ufo1/gfx") {
play();
}
Symbol 70 MovieClip Frame 7
x = getProperty("/ball/", _x);
y = getProperty("/ball/", _y);
myx = x1 + ../:x;
myy = y1 + ../:y;
dx = myx - x;
dy = myy - y;
xtolerance = width;
ytolerance = height;
if (((((dx < xtolerance) and ((-xtolerance) < dx)) and (dy < ytolerance)) and ((-ytolerance) < dy)) and (y < (bottom - slope))) {
unloadMovie ("/ball");
call("crash");
}
Symbol 73 MovieClip Frame 1
startx = _x;
starty = _y;
currentlevel = /:level;
Symbol 73 MovieClip Frame 2
gotoAndStop("level" add /:level);
Symbol 73 MovieClip Frame 3
_x = (_x + /:movx);
_y = (_y + /:movy);
x = _x;
y = _y;
Symbol 73 MovieClip Frame 11
call("movement");
play();
Symbol 73 MovieClip Frame 12
prevFrame();
Symbol 73 MovieClip Frame 16
call("movement");
play();
Symbol 73 MovieClip Frame 17
prevFrame();
Symbol 73 MovieClip Frame 21
call("movement");
play();
Symbol 73 MovieClip Frame 22
prevFrame();
Symbol 73 MovieClip Frame 26
call("movement");
play();
Symbol 73 MovieClip Frame 27
prevFrame();
Symbol 73 MovieClip Frame 31
call("movement");
play();
Symbol 73 MovieClip Frame 32
prevFrame();
Symbol 73 MovieClip Frame 36
call("movement");
play();
Symbol 73 MovieClip Frame 37
prevFrame();
Symbol 80 MovieClip Frame 1
_x = (_x + /:movx);
_y = (_y + /:movy);
dx = _x - getProperty("/ufo1/", _x);
dy = _y - getProperty("/ufo1/", _y);
if ((((dx < /:tolerance) and ((-/:tolerance) < dx)) and (dy < /:tolerance)) and ((-/:tolerance) < dy)) {
Set("/ufo1/:tethered", "1");
Set("/:score", /:score + "200");
gotoAndPlay (3);
tellTarget ("/line") {
gotoAndPlay (2);
};
tellTarget ("/hyperspace") {
play();
};
}
Symbol 80 MovieClip Frame 2
gotoAndPlay (1);
Symbol 80 MovieClip Frame 3
y = _y;
x = _x;
if ((/:tractorlength < getProperty("/tether/", _xscale)) or (/:tractorlength < getProperty("/tether/", _yscale))) {
Set("/:forcex", /:forcex + (((x - getProperty("/ufo1/", _x)) * /:tension) * /:friction));
Set("/:forcey", /:forcey + (((y - getProperty("/ufo1/", _y)) * /:tension) * /:friction));
}
vy = vy + (/:gravity / "20");
y = (y + (vy / "10")) - /:forcey;
_y = y;
x = (x + vx) - /:forcex;
_x = x;
Symbol 80 MovieClip Frame 4
gotoAndPlay (3);
Symbol 85 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 1
fuelreserves = "100";
_x = (/terrain/:startx + getProperty("/terrain/fuelmarker/", _x));
_y = (/terrain/:starty + getProperty("/terrain/fuelmarker/", _y));
gotoAndPlay (2);
Symbol 86 MovieClip Frame 2
call("movement");
Symbol 86 MovieClip Frame 3
call("movement");
Symbol 86 MovieClip Frame 4
call("movement");
call("collision");
Symbol 86 MovieClip Frame 5
gotoAndPlay (2);
Symbol 86 MovieClip Frame 6
if ("0" < fuelreserves) {
Set("/:fuel", /:fuel + "20");
if ("1000" < /:fuel) {
Set("/:fuel", "1000");
}
Set("/:score", /:score + "10");
fuelreserves = fuelreserves - "5";
setProperty("/fuelgauge/bar", _xscale , /:fuel / "10");
tellTarget ("pod") {
play();
};
} else {
gotoAndPlay (26);
}
Symbol 86 MovieClip Frame 11
if (/:ready == "1") {
dx = _x - getProperty("/ufo1/", _x);
dy = _y - getProperty("/ufo1/", _y);
if ((((dx < /:fuelsize) and ((-/:fuelsize) < dx)) and (dy < /:fuelsize)) and ((-/:fuelsize) < dy)) {
call("refuel");
}
}
Symbol 86 MovieClip Frame 18
_x = (_x + /:movx);
_y = (_y + /:movy);
Symbol 86 MovieClip Frame 31
stop();
unloadMovie ();
Symbol 91 MovieClip Frame 1
gotoAndStop(random("5") + "1");
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
if (_name eq "line") {
duplicateMovieClip ("", "tether", "9");
setProperty("/tether", _x , getProperty("/ufo1/", _x));
setProperty("/tether", _y , getProperty("/ufo1/", _y));
xscale = getProperty("/ball/", _x) - getProperty("/ufo1/", _x);
yscale = getProperty("/ball/", _y) - getProperty("/ufo1/", _y);
setProperty("/tether", _xscale , xscale);
setProperty("/tether", _yscale , yscale);
}
Symbol 92 MovieClip Frame 4
gotoAndPlay (2);
Symbol 98 MovieClip Frame 15
stop();
Set("/:ready", "1");
tellTarget ("../") {
Set("/:ufowidth", _width / "2");
Set("/:ufoheight", _height / "2");
gotoAndStop (2);
}
Symbol 98 MovieClip Frame 16
Set("/:ready", "0");
tellTarget ("../") {
gotoAndStop (1);
}
Symbol 98 MovieClip Frame 36
stop();
tellTarget ("/") {
play();
};
unloadMovie ();
Symbol 98 MovieClip Frame 37
Set("/:ready", "0");
Set("../:tethered", "0");
Set("../:done", "1");
Symbol 98 MovieClip Frame 45
unloadMovie ("/ball");
unloadMovie ("/line");
unloadMovie ("/tether");
Symbol 98 MovieClip Frame 54
stop();
tellTarget ("/") {
play();
}
Symbol 99 MovieClip Frame 1
y = getProperty("../", _y);
x = getProperty("../", _x);
Set("../:vy", ../:vy + (/:gravity / "10"));
y = (y + (../:vy / "10")) + (/:forcey / "2");
setProperty("../", _y , y);
x = (x + ../:vx) + (/:forcex / "2");
setProperty("../", _x , x);
if (("650" < /terrain/:y) and (../:done <> "1")) {
if (../:tethered == "1") {
Set("/:level", /:level + "1");
Set("/:score", /:score + (/:fuel * /:level));
}
tellTarget ("../gfx") {
gotoAndPlay ("teleport");
};
}
Symbol 99 MovieClip Frame 2
gotoAndPlay (1);
Symbol 102 MovieClip Frame 15
gotoAndPlay (3);
Symbol 103 MovieClip Frame 1
if ("0" < /:fuel) {
rotation = int(getProperty("../", _rotation));
if ("90" < rotation) {
rotation = "90" - (rotation - "90");
direction = -"1";
} else if (rotation < (-"90")) {
rotation = (-"90") + (rotation + "90");
direction = -"1";
} else {
direction = "1";
}
Set("../:vx", ../:vx + (/:thrust * (rotation / "720")));
if (rotation < "0") {
rotation = -rotation;
}
if (rotation < "18") {
rotation = "1";
}
Set("../:vy", ../:vy - ((/:thrust / rotation) * direction));
Set("/:fuel", /:fuel - "3");
setProperty("/fuelgauge/bar", _xscale , /:fuel / "10");
} else {
tellTarget ("../") {
gotoAndStop(_currentframe - "1");
};
}
Symbol 103 MovieClip Frame 2
gotoAndPlay (1);
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
stop();
Symbol 104 MovieClip Frame 3
stop();
Symbol 105 MovieClip Frame 1
speed = "0.8";
gotoAndPlay (2);
Symbol 105 MovieClip Frame 2
oldx = _x;
oldy = _y;
xdif = _x - getProperty("../ufo1", _x);
ydif = _y - getProperty("../ufo1", _y);
if ("0" < (xdif * xdif)) {
_x = (getProperty("../ufo1", _x) + (xdif * speed));
} else {
_x = getProperty("../ufo1", _x);
}
if ("0" < (ydif * ydif)) {
_y = (getProperty("../ufo1", _y) + (ydif * speed));
} else {
_y = getProperty("../ufo1", _y);
}
Set("/:movx", oldx - _x);
Set("/:movy", oldy - _y);
tellTarget ("/ufo1") {
_x = (_x + /:movx);
_y = (_y + /:movy);
};
_x = (_x + /:movx);
_y = (_y + /:movy);
Symbol 105 MovieClip Frame 3
gotoAndPlay (2);
Symbol 107 Button
on (press) {
if (("0" < fuel) and (ready == "1")) {
tellTarget ("/ufo1") {
gotoAndStop (3);
};
}
}
on (release, releaseOutside) {
tellTarget ("/ufo1") {
gotoAndStop (2);
}
}
Symbol 108 MovieClip Frame 1
xdif = "250" - getProperty("/mousefollow", _x);
setProperty("/ufo1", _rotation , (-xdif) / "2");
setProperty("/ufo1", _xscale , "100");
setProperty("/ufo1", _yscale , "100");
Symbol 108 MovieClip Frame 2
gotoAndPlay (1);
Symbol 109 MovieClip Frame 1
startDrag ("", true, "0", "0", "500", "400");
Symbol 110 MovieClip Frame 1
speed = "0.6";
gotoAndPlay (2);
Symbol 110 MovieClip Frame 2
xdif = _x - getProperty("../location", _x);
if ("1" < int(xdif * xdif)) {
_x = (getProperty("../location", _x) + (xdif * speed));
} else {
_x = getProperty("../location", _x);
}
Symbol 110 MovieClip Frame 3
gotoAndPlay (2);
Symbol 118 Button
on (press, keyPress "<Enter>") {
Set("/:myname", ../:my_name);
if (../:my_name eq "") {
Set("../:my_name", "Anon");
}
if ((substring(wordbank, "1", "1")) ne ",") {
wordbank = ("," add wordbank) add ",";
}
comma = "0";
r = length(wordbank);
count = "1";
while (r >= count) {
if ((substring(wordbank, count, "1")) eq ",") {
comma = comma + "1";
Set("num" add comma, count);
}
count = count + "1";
}
count = "1";
while (comma >= count) {
Set("bad" add count, substring(wordbank, eval ("num" add count) + "1", (eval ("num" add (count + "1")) - eval ("num" add count)) - "1"));
count = count + "1";
}
badwords = comma - "1";
short = ../:my_name;
length = length(short);
l = "1";
while (length >= l) {
Set("w" add l, ord(substring(short, l, "1")));
if ((eval ("w" add l) >= "65") and ("90" >= eval ("w" add l))) {
Set("w" add l, chr(eval ("w" add l) + "32"));
} else {
Set("w" add l, chr(eval ("w" add l)));
}
l = l + "1";
}
l = "1";
short = "";
while (length >= l) {
short = short add eval ("w" add l);
l = l + "1";
}
m = "1";
n = length(../:my_name);
while (badwords >= m) {
if (n >= length(eval ("bad" add m))) {
v = "1";
while (((n - length(eval ("bad" add m))) + "1") >= v) {
if ((substring(short, v, length(eval ("bad" add m)))) eq eval ("bad" add m)) {
Set("../:my_name", ../:word_replacer);
}
v = v + "1";
}
}
m = m + "1";
}
tellTarget ("../") {
call("submitscore");
gotoAndPlay ("aftergame");
}
}
Symbol 119 MovieClip Frame 1
stop();
wordbank = ",jizm,tits,asshole,asswipe,arse,wank,cunt,piss,shit,shite,fuck,phuck,fuc,fuk,phuc,phuk,shitter,bollocks,bollox,bolox,fucker,fuct,motherfucker,motherfuck,bastard,shag,shagger,wanker,wanky,wanking,whore,anal,pussy,bitch,butt,buttfuck,arse,assfuck,jerk,dork,dick,snatch,";
Symbol 134 Button
on (press) {
setProperty("scrollbox", _y , getProperty("mouse", _y));
tellTarget ("scrollbox") {
call("scroll");
}
}
on (rollOver) {
startDrag ("mouse", true);
}
on (rollOut, release, dragOut, releaseOutside) {
stopDrag();
}
Symbol 138 Button
on (press) {
tellTarget ("scrollUp") {
gotoAndPlay (2);
}
}
on (release, releaseOutside) {
tellTarget ("scrollUp") {
gotoAndStop (1);
}
}
Symbol 139 Button
on (press) {
tellTarget ("scrollDown") {
gotoAndPlay (2);
}
}
on (release, releaseOutside) {
tellTarget ("scrollDown") {
gotoAndStop (1);
}
}
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
currentScroll = ../:numbers.scroll;
if (currentScroll < ../:numbers.maxscroll) {
Set("../:numbers.scroll", currentScroll + "1");
Set("../:names.scroll", currentScroll + "1");
Set("../:scores.scroll", currentScroll + "1");
}
setProperty("../scrollbox", _y , ../:scrollboxtop + ((../:numbers.scroll / ../:numbers.maxscroll) * (../:scrollboxbottom - ../:scrollboxtop)));
Symbol 140 MovieClip Frame 4
gotoAndPlay (2);
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 2
currentScroll = ../:numbers.scroll;
if ("1" < currentScroll) {
Set("../:numbers.scroll", currentScroll - "1");
Set("../:names.scroll", currentScroll - "1");
Set("../:scores.scroll", currentScroll - "1");
}
setProperty("../scrollbox", _y , (../:scrollboxtop + ((../:numbers.scroll / ../:numbers.maxscroll) * (../:scrollboxbottom - ../:scrollboxtop))) - "2");
Symbol 141 MovieClip Frame 3
gotoAndPlay (2);
Symbol 143 Button
on (press) {
startDrag ("", false, myx, ../:scrollboxtop, myx, ../:scrollboxbottom);
play();
}
on (release, releaseOutside) {
stopDrag();
gotoAndStop (1);
}
Symbol 144 MovieClip Frame 1
stop();
myx = _x;
scrollboxlength = int(../:scrollboxbottom - ../:scrollboxtop);
Symbol 144 MovieClip Frame 2
scrollboxy = getProperty("../scrollbox", _y);
maxscroll = ../:numbers.maxscroll;
boxpos = int(scrollboxy - ../:scrollboxtop) / scrollboxlength;
scrollposition = int(maxscroll * boxpos);
Set("../:numbers.scroll", scrollposition);
Set("../:names.scroll", scrollposition);
Set("../:scores.scroll", scrollposition);
Symbol 144 MovieClip Frame 3
gotoAndPlay (2);
Symbol 146 MovieClip Frame 1
score_keeper = "/cgi-bin/highscore.pl";
game_title = "graviton";
game_author = "liam";
numplayers = "100";
count = "0";
if (((/:bestscore >= /:score) or (/:compromised == "1")) or (/:viewing_highscores == "1")) {
call("submitscore");
justlooking = "1";
gotoAndPlay (19);
} else {
stop();
word_replacer = "No Swearing!";
my_name = /:myname;
my_score = /:score;
Set("/:bestscore", /:score);
}
Symbol 146 MovieClip Frame 19
if (sk_done eq "yes") {
sk_done = "";
gotoAndStop(_currentframe + "2");
} else if (error ne "") {
view_scores = error;
stop();
} else {
if (count < "4") {
view_scores = "LOADING SCORES.";
} else if ((count >= "4") and (count < "8")) {
view_scores = "LOADING SCORES..";
} else if ((count >= "8") and (count < "12")) {
view_scores = "LOADING SCORES...";
} else if ((count >= "12") and (count < "16")) {
view_scores = "LOADING SCORES";
} else {
view_scores = "LOADING SCORES";
count = "0";
}
play();
}
count = count + "1";
Symbol 146 MovieClip Frame 20
gotoAndPlay (19);
Symbol 146 MovieClip Frame 21
unloadMovieNum (1);
view_scores = "";
my_ranking = "";
num = "1";
max_possible_score = "50000";
while (numplayers >= num) {
if (eval ("score_" add num) < max_possible_score) {
numbers = (numbers add num) add "\r";
names = (names add eval ("name_" add num)) add "\r";
scores = (scores add eval ("score_" add num)) add "\r";
}
num = num + "1";
}
if (justlooking <> "1") {
num = "1";
while (num < numplayers) {
if ((my_score == eval (("score" add "_") add num)) and (my_name == eval (("name" add "_") add num))) {
my_ranking = ((("you are ranked at position " add num) add " in the top ") add numplayers) add "!";
}
num = num + "1";
}
if (my_ranking eq "") {
my_ranking = ("sorry, you did not rank among the top " add numplayers) add " scores";
}
} else {
my_ranking = ("you didn't beat your previous best of " add /:bestscore) add " ...go and try again!";
if (/:compromised == "1") {
my_ranking = "game performance compromised! it's not fair to submit an unfairly achieved score!";
}
}
my_score = "0";
stop();
scrollboxtop = getProperty("scrollbox", _y);
scrollboxbottom = getProperty("marker", _y);
Symbol 146 MovieClip Frame 27
currentScroll = scores.scroll;
if ("1" < currentScroll) {
scores.scroll = currentScroll - "1";
numbers.scroll = currentScroll - "1";
names.scroll = currentScroll - "1";
}
play();
Symbol 146 MovieClip Frame 28
gotoAndPlay (27);
Symbol 146 MovieClip Frame 33
currentScroll = scores.scroll;
if (currentScroll < scores.maxscroll) {
scores.scroll = currentScroll + "1";
numbers.scroll = currentScroll + "1";
names.scroll = currentScroll + "1";
}
play();
Symbol 146 MovieClip Frame 34
gotoAndPlay (33);
Symbol 146 MovieClip Frame 47
loadMovieNum ((((((((("http://www.spikything.com/resources/proxy.swf?url=" add score_keeper) add "&path=") add _target) add "&method=POST&game_title=") add game_title) add "&game_author=") add game_author) add "&numplayers=") add numplayers, "1");
Symbol 146 MovieClip Frame 56
loadMovieNum ((((((((((((("http://www.spikything.com/resources/proxy.swf?url=" add score_keeper) add "&path=") add _target) add "&method=POST&game_title=") add game_title) add "&game_author=") add game_author) add "&numplayers=") add numplayers) add "&my_name=") add my_name) add "&my_score=") add my_score, "1");
Symbol 146 MovieClip Frame 65
loadVariables (score_keeper, "", "POST");
Symbol 151 Button
on (press) {
gotoAndStop (7);
}