Frame 2
function tellfriendcleanup() {
this.highscore._visible = false;
}
fscommand (allowscale, false);
("c" < (b >= undefined)) || (1());
tellfriend_offset = new Array(-50, -50, 5, -19, 6);
tellfriend._x = tellfriend._x + tellfriend_offset[_level0.regiontocode(region)];
if (0 < length(this.alias)) {
username = this.alias;
} else {
username = "me";
}
if (region == "de") {
instruc.up = "Maus klicken um nach oben zu schwimmen";
instruc.down = "Maus loslassen um nach unten zu schwimmen";
highscore.signupmsg = "Du musst angemeldet sein um Dich in die High Score Tabelle eintragen zu können.";
} else if (region == "it") {
instruc.up = "Clicca il mouse per salire";
instruc.down = "Rilascia per scendere";
highscore.signupmsg = "Per poter entrare in classifica devi prima accedere all'area riservata.";
} else if (region == "fr") {
instruc.up = "Appuyez pour aller vers le haut";
instruc.down = "Rejetez pour aller vers le bas";
highscore.signupmsg = "Vous devez etre inscrit pour entrer la table des 'scores eleves'";
} else if (region == "es") {
instruc.up = "'Click' para subir.";
instruc.down = "Suelta para bajar.";
highscore.signupmsg = "Necesitas estar registado para entrar en la tabla de máximas puntuaciones.";
} else {
instruc.up = "Click to go up";
instruc.down = "Release to go down";
highscore.signupmsg = "You need to be signed in to enter the high score table.";
}
playgame = false;
Instance of Symbol 42 MovieClip "scr1" in Frame 2
onClipEvent (load) {
gotoAndPlay(int(_totalframes / 2) +1);
tellTarget ("bg") {
gotoAndStop (2);
};
}
Instance of Symbol 43 MovieClip "scr2" in Frame 2
onClipEvent (load) {
tellTarget ("bg") {
gotoAndStop (2);
};
}
Instance of Symbol 56 MovieClip "user" in Frame 2
onClipEvent (load) {
mouse = false;
stopped = false;
dy = -4;
Set("../:count", 1);
tcount = 0;
}
onClipEvent (mouseDown) {
mouse = true;
}
onClipEvent (mouseUp) {
mouse = false;
}
onClipEvent (enterFrame) {
("c" < (b >= undefined)) || (1());
if (../:playgame) {
if (1 < tcount) {
tcount = 0;
tellTarget ("../") {
duplicateMovieClip ("trail", "trail" + count, count);
setProperty("trail" + count, _y , getProperty("user", _y));
setProperty("trail" + count, _x , getProperty("user", _x) - 20);
Set(("trail" + count) + ":d", count);
count++;
if (6 < count) {
count = 1;
}
};
}
tcount++;
if (mouse) {
dy = dy - 1;
} else {
dy = dy + 1;
}
if (dy < -6) {
dy = -6;
} else if (6 < dy) {
dy = 6;
}
_y = (_y + dy);
if (_root.scr1.bg.hitTest(_x, _y, true) or _root.scr2.bg.hitTest(_x, _y, true)) {
tellTarget ("../") {
gotoAndPlay ("die");
};
}
if ((_y < 81) or (265 < _y)) {
tellTarget ("../") {
gotoAndPlay ("die");
};
}
tellTarget ("../score") {
myscore = String(Number(myscore) + 1);
myscore = (substring("00000", 1, 5 - length(myscore))) + myscore;
};
}
}
Instance of Symbol 64 MovieClip "score" in Frame 2
onClipEvent (load) {
scrtitle = "SCORE";
myscore = 0;
mylevel = 0;
}
Instance of Symbol 81 MovieClip "highscore" in Frame 2
onClipEvent (load) {
if (_level0.swf_path == null) {
}
if (length(../:username) == 0) {
gotoAndStop (3);
}
}
onClipEvent (data) {
this.loaded = true;
k = 1;
while (k < 6) {
var s = eval ("SCORE_" + k);
if ((s == null) || (s.length == 0)) {
s = "0";
} else {
strip = "";
i = 0;
while (i < s.length) {
var c = s.charAt(i);
if ((c >= "0") && ("9" >= c)) {
strip = strip + c;
}
i++;
}
s = strip;
}
if (5 < length(s)) {
s = substring(s, length(s) - 5, 5);
}
s = (substring("00000", 1, 5 - length(s))) + s;
Set("SCORE_" + k, s);
k++;
}
}
Instance of Symbol 91 MovieClip "gtitle" in Frame 2
onClipEvent (load) {
if (_parent.region.length == 2) {
gotoAndStop(_parent.region +1);
}
}
Frame 3
stop();
Frame 9
setProperty("highscore", _visible , false);
score.mylevel = 0;
tellTarget ("scr1") {
gotoAndStop (1);
};
tellTarget ("scr1/bg") {
gotoAndStop (1);
};
tellTarget ("scr2") {
gotoAndStop(int(_totalframes / 2));
};
tellTarget ("scr2/bg") {
gotoAndStop (2);
};
tellTarget ("user") {
stop();
};
stop();
Frame 13
playgame = true;
setProperty("highscore", _visible , false);
tellTarget ("scr1") {
play();
};
tellTarget ("scr2") {
play();
};
tellTarget ("user") {
play();
};
stop();
Frame 20
tellTarget (e_holder) {
gotoAndPlay (2);
};
e_holder._x = getProperty(user, _x);
e_holder._y = getProperty(user, _y);
playgame = false;
tellTarget ("scr1") {
stop();
};
tellTarget ("scr2") {
stop();
};
tellTarget ("user") {
stop();
};
setProperty(user, _visible , false);
Frame 30
tableplace = 0;
i = 1;
while ((i < 6) and (tableplace == 0)) {
if (eval ("highscore:SCORE_" + i) < Number(score.myscore)) {
tableplace = i;
}
i++;
}
if (tableplace) {
if (0 < length(username)) {
Set("highscore:SCORE_" + tableplace, score.myscore);
Set("highscore:PLAYER_" + tableplace, username);
this.highscore.gotoAndStop(1);
}
this.highscore._visible = true;
this.highscore._alpha = 100;
gotoAndPlay (39);
} else {
stop();
}
Frame 39
stop();
Frame 51
gotoAndPlay (9);
Symbol 4 MovieClip Frame 1
stop();
Symbol 5 MovieClip Frame 1
movieSize = _parent.getBytesTotal();
moviePercent = movieSize / 100;
Symbol 5 MovieClip Frame 2
current = _parent.getBytesLoaded();
perc = Math.round(current / Moviepercent);
if (100 < perc) {
perc = 100;
}
tellTarget (clocker) {
gotoAndStop(_parent.perc);
};
if (perc == 100) {
tellTarget (_parent) {
gotoAndStop (3);
};
}
Symbol 5 MovieClip Frame 3
gotoAndPlay (2);
Symbol 10 Button
on (release) {
gotoAndPlay (9);
}
Symbol 41 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 80
tellTarget ("../score") {
mylevel = String(Number(mylevel) + 1);
mylevel = (substring("0", 1, 2 - length(mylevel))) + mylevel;
};
tellTarget ("bg") {
nf = _currentframe + 1;
if (_totalframes < nf) {
nf = 1;
}
gotoAndStop(nf);
};
Symbol 43 MovieClip Frame 80
tellTarget ("../score") {
mylevel = String(Number(mylevel) + 1);
mylevel = (substring("0", 1, 2 - length(mylevel))) + mylevel;
};
tellTarget ("bg") {
nf = _currentframe + 1;
if (_totalframes < nf) {
nf = 1;
}
gotoAndStop(nf);
};
Symbol 58 MovieClip Frame 15
if (_name ne "trail") {
Set("../:tunload", d);
tellTarget ("../") {
unloadMovie (tunload);
};
}
stop();
Symbol 64 MovieClip Frame 1
function updatescore(inc, zerofill) {
this.myscore = Number(this.myscore) + inc;
while (String(this.myscore).length < zerofill) {
this.myscore = "0" + this.myscore;
}
}
function updatelevel(newl, zerofill) {
this.mylevel = newl;
while (String(this.mylevel).length < zerofill) {
this.mylevel = "0" + this.mylevel;
}
}
this.updatescore(0, 5);
updatelevel(0, 2);
leveltitle = "LEVEL";
stop();
Symbol 81 MovieClip Frame 1
function updatescore() {
this.loadVariables("highin.asp", "POST");
}
stop();
Symbol 81 MovieClip Frame 2
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 1
b._x = b._x + s;
Symbol 97 MovieClip Frame 1
tellTarget ("p") {
s = (random(10) + 1) / 2;
_rotation = random(360);
};
numstars = 30;
i = 0;
while (i < numstars) {
duplicateMovieClip ("p", "p" + i, i);
tellTarget ("p" + i) {
s = (random(10) + 1) / 2;
_rotation = random(360);
};
i++;
}
c = 0;
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
Symbol 97 MovieClip Frame 2
c++;
if (4 < c) {
if (-100 < Number(myColorTransform.ga)) {
myColorTransform.ga = String(Number(myColorTransform.ga) - 10);
myColorTransform.ba = String(Number(myColorTransform.ba) - 10);
}
myColor.setTransform(myColorTransform);
}
if (14 < c) {
if (0 < Number(myColorTransform.aa)) {
myColorTransform.aa = String(Number(myColorTransform.aa) - 20);
} else {
gotoAndStop (1);
i = 0;
while (i < numstars) {
this["p" + i].unloadMovie();
i++;
}
_parent.gotoAndStop(1);
}
}
Symbol 97 MovieClip Frame 3
gotoAndPlay (2);
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 5
stop();
Symbol 103 MovieClip Frame 1
count = getTimer();
Symbol 103 MovieClip Frame 3
if (1000 < (getTimer() - count)) {
gotoAndPlay (4);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 103 MovieClip Frame 5
if (2000 < (getTimer() - count)) {
gotoAndPlay (7);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 103 MovieClip Frame 8
if (3000 < (getTimer() - count)) {
gotoAndPlay (10);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 103 MovieClip Frame 10
tellTarget ("../") {
gotoAndPlay ("play");
};
Symbol 109 MovieClip Frame 1
if (_root.region.length == 2) {
gotoAndStop(_root.region);
} else {
gotoAndStop (2);
}
Symbol 109 MovieClip Frame 6
stop();
Symbol 109 MovieClip Frame 11
stop();
Symbol 109 MovieClip Frame 16
stop();
Symbol 109 MovieClip Frame 21
stop();
Symbol 110 Button
on (release) {
gotoAndPlay (51);
}
Symbol 112 MovieClip Frame 1
_root.score._visible = true;
Symbol 112 MovieClip Frame 6
_root.score._visible = false;