Frame 1
exist_name = "0";
lng = "french";
Frame 2
exist_name = "0";
lng = "french";
stop();
Frame 3
frame = _currentframe;
Set("/ctrl:score", "");
started = "0";
game_over = "0";
state = "init";
pause = "1";
sound = "0";
stop();
Frame 4
frame = _currentframe;
Set("/ctrl:score", "");
started = "0";
game_over = "0";
state = "init";
pause = "1";
sound = "0";
stop();
Frame 7
frame = _currentframe;
started = "0";
game_over = "0";
state = "get_ready";
pause = "1";
sound = "1";
stop();
tellTarget ("/game") {
gotoAndPlay (1);
}
Frame 8
frame = _currentframe;
started = "0";
game_over = "0";
state = "get_ready";
pause = "1";
sound = "1";
stop();
Frame 11
started = "1";
frame = _currentframe;
state = "play";
pause = "0";
sound = "1";
stop();
Frame 15
pause = "1";
state = "ask_restart";
sound = "0";
stop();
Frame 16
pause = "1";
state = "ask_restart";
sound = "0";
stop();
Frame 19
frame = _currentframe;
state = "pause";
pause = "1";
sound = "0";
stop();
Frame 23
pause = "1";
state = "ask_quit";
sound = "0";
stop();
Frame 24
pause = "1";
state = "ask_quit";
sound = "0";
stop();
Frame 27
frame = _currentframe;
state = "score";
pause = "1";
sound = "0";
stop();
Frame 28
frame = _currentframe;
state = "score";
pause = "1";
sound = "0";
stop();
Frame 31
state = "help";
pause = "1";
sound = "0";
stop();
Frame 32
state = "help";
pause = "1";
sound = "0";
stop();
Symbol 19 Button
on (release) {
Set("/:lng", "french");
tellTarget ("/") {
gotoAndPlay ("tis_init_french");
}
}
Symbol 22 Button
on (release) {
Set("/:lng", "english");
tellTarget ("/") {
gotoAndPlay ("tis_init");
}
}
Symbol 26 MovieClip Frame 1
x = -"400";
x_max = "200";
x_min = -"400";
x_diff = "4";
Symbol 26 MovieClip Frame 2
setProperty("bandeau", _x , x);
x = x + x_diff;
if (x_max < x) {
x = x_min;
}
Symbol 26 MovieClip Frame 3
setProperty("bandeau", _x , x);
x = x + x_diff;
if (x_max < x) {
x = x_min;
}
gotoAndPlay (2);
Symbol 33 Button
on (release) {
if (/:game_over == "0") {
state = /:state;
if (((state eq "play") or (state eq "pause")) or ((state eq "help") and (stated == "1"))) {
if (/:lng eq "french") {
tellTarget ("/") {
gotoAndPlay ("tis_ask_restart_french");
};
} else {
tellTarget ("/") {
gotoAndPlay ("tis_ask_restart");
};
}
}
}
}
Symbol 35 Button
on (release) {
if (/:game_over == "0") {
state = /:state;
if (((state eq "pause") or ((state eq "help") and (/:started == "1"))) or (state eq "get_ready")) {
tellTarget ("/") {
gotoAndStop ("tis_play");
};
} else if ((state eq "init") or ((state eq "help") and (started == "0"))) {
tellTarget ("/") {
gotoAndStop ("tis_get_ready");
};
}
}
}
Symbol 37 Button
on (release) {
if (/:game_over == "0") {
state = /:state;
if ((state eq "play") or ((state eq "help") and (started == "1"))) {
tellTarget ("../") {
gotoAndStop ("tis_pause");
};
}
}
}
Symbol 39 Button
on (release) {
if (/:game_over == "0") {
state = /:state;
if ((((state eq "play") or (state eq "pause")) or ((state eq "help") and (stated == "1"))) or (state eq "get_ready")) {
if (/:lng eq "french") {
tellTarget ("../") {
gotoAndStop ("tis_ask_quit_french");
};
} else {
tellTarget ("../") {
gotoAndStop ("tis_ask_quit");
};
}
}
} else {
state = /:state;
if (state eq "play") {
if (/:lng eq "french") {
tellTarget ("../") {
gotoAndStop ("tis_score_french");
};
} else {
tellTarget ("../") {
gotoAndStop ("tis_score");
};
}
}
}
}
Symbol 41 Button
on (release) {
if (/:game_over == "0") {
state = /:state;
if ((((state eq "play") or (state eq "pause")) or (state eq "get_ready")) or (state eq "init")) {
if (/:lng eq "french") {
tellTarget ("/") {
gotoAndStop ("tis_help_french");
};
} else {
tellTarget ("/") {
gotoAndStop ("tis_help");
};
}
}
}
}
Symbol 44 MovieClip Frame 1
Set("../game:pause", "1");
size = ../game:size;
Set("../game:sound", "1");
score = "";
stop();
Symbol 44 MovieClip Frame 2
score = ../game:score;
Symbol 48 MovieClip Frame 1
if (/:sound == "1") {
gotoAndPlay (2);
} else {
gotoAndPlay (6);
}
Symbol 48 MovieClip Frame 2
Symbol 48 MovieClip Frame 4
if (/:sound == "1") {
gotoAndPlay (3);
} else {
gotoAndPlay (5);
}
Symbol 48 MovieClip Frame 5
Symbol 48 MovieClip Frame 7
if (/:sound == "0") {
gotoAndPlay (6);
} else {
gotoAndPlay (2);
}
Symbol 53 Button
on (release) {
tellTarget ("../") {
gotoAndPlay ("tis_get_ready");
}
}
Symbol 56 Button
on (release) {
tellTarget ("../") {
gotoAndPlay ("tis_get_ready_french");
}
}
Symbol 60 Button
on (release) {
if (((gel == "0") and (/:pause == "0")) and (../:fin == "0")) {
gotoAndPlay (6);
}
}
Symbol 63 Button
on (release) {
if (((gel == "0") and (/:pause == "0")) and (../:fin == "0")) {
gotoAndPlay (2);
}
}
Symbol 65 MovieClip Frame 1
gel = "0";
size = "11";
case = (((_x - "16") + "176") / "32") + (("11" * ((_y - "16") + "176")) / "32");
tmp = random("2");
if (tmp == "0") {
gotoAndPlay (2);
} else {
gotoAndPlay (6);
}
Symbol 65 MovieClip Frame 2
stop();
rotation = "0";
call("rotation_extr");
Symbol 65 MovieClip Frame 3
if (../:fin == "0") {
tellTarget ("../" add successeur) {
play();
};
Set("../:score", ../:score + "1");
tellTarget ("../../ctrl") {
call("refresh_score");
};
}
stop();
Symbol 65 MovieClip Frame 4
stop();
init = "carreau_" add case;
next = successeur;
i = "0";
while ((next ne init) and (i < "50")) {
i = i + "1";
apres = eval (("../" add next) add ":successeur");
len = length(next);
morte = substring(next, "9", len - "8");
Set("../:morte", morte);
tellTarget ("../") {
call("remove_movie");
};
tellTarget ("../" add next) {
removeMovieClip("");
};
next = apres;
}
Set("../:morte", case);
tellTarget ("../") {
call("remove_movie");
};
removeMovieClip("");
Symbol 65 MovieClip Frame 6
stop();
rotation = "1";
call("rotation_extr");
Symbol 65 MovieClip Frame 7
if (../:fin == "0") {
tellTarget ("../" add successeur) {
play();
};
Set("../:score", ../:score + "1");
tellTarget ("../../ctrl") {
call("refresh_score");
};
}
stop();
Symbol 65 MovieClip Frame 8
stop();
init = "carreau_" add case;
next = successeur;
i = "0";
while ((next ne init) and (i < "50")) {
i = i + "1";
apres = eval (("../" add next) add ":successeur");
len = length(next);
morte = substring(next, "9", len - "8");
Set("../:morte", morte);
tellTarget ("../") {
call("remove_movie");
};
tellTarget ("../" add next) {
removeMovieClip("");
};
next = apres;
}
Set("../:morte", case);
tellTarget ("../") {
call("remove_movie");
};
removeMovieClip("");
Symbol 65 MovieClip Frame 17
if (rotation == "1") {
extr_1 = case - "1";
extr_2 = case + "1";
} else if (rotation == "0") {
extr_1 = case - size;
extr_2 = case + size;
} else if (rotation == "3") {
extr_1 = case - "1";
extr_2 = case + "1";
} else {
extr_1 = case - size;
extr_2 = case + size;
}
Set("../:case", case);
tellTarget ("../") {
call("test_boucle");
}
Symbol 66 Button
on (release) {
if (((gel == "0") and (/:pause == "0")) and (../:fin == "0")) {
gotoAndPlay (6);
}
}
Symbol 68 Button
on (release) {
if (((gel == "0") and (/:pause == "0")) and (../:fin == "0")) {
gotoAndPlay (10);
}
}
Symbol 70 Button
on (release) {
if (((gel == "0") and (/:pause == "0")) and (../:fin == "0")) {
gotoAndPlay (15);
}
}
Symbol 72 Button
on (release) {
if (((gel == "0") and (/:pause == "0")) and (../:fin == "0")) {
gotoAndPlay (2);
}
}
Symbol 74 MovieClip Frame 1
gel = "0";
size = "11";
case = (((_x - "16") + "176") / "32") + (("11" * ((_y - "16") + "176")) / "32");
tmp = random("4");
if (tmp == "0") {
gotoAndPlay (2);
} else if (tmp == "1") {
gotoAndPlay (6);
} else if (tmp == "2") {
gotoAndPlay (10);
} else {
gotoAndPlay (15);
}
Symbol 74 MovieClip Frame 2
stop();
rotation = "0";
call("rotation_extr");
Symbol 74 MovieClip Frame 3
if (../:fin == "0") {
tellTarget ("../" add successeur) {
play();
};
Set("../:score", ../:score + "1");
tellTarget ("../../ctrl") {
call("refresh_score");
};
}
stop();
Symbol 74 MovieClip Frame 4
stop();
init = "carreau_" add case;
next = successeur;
i = "0";
while ((next ne init) and (i < "50")) {
i = i + "1";
apres = eval (("../" add next) add ":successeur");
len = length(next);
morte = substring(next, "9", len - "8");
Set("../:morte", morte);
tellTarget ("../") {
call("remove_movie");
};
tellTarget ("../" add next) {
removeMovieClip("");
};
next = apres;
}
Set("../:morte", case);
tellTarget ("../") {
call("remove_movie");
};
removeMovieClip("");
Symbol 74 MovieClip Frame 6
stop();
rotation = "1";
call("rotation_extr");
Symbol 74 MovieClip Frame 7
if (../:fin == "0") {
tellTarget ("../" add successeur) {
play();
};
Set("../:score", ../:score + "1");
tellTarget ("../../ctrl") {
call("refresh_score");
};
}
stop();
Symbol 74 MovieClip Frame 8
stop();
init = "carreau_" add case;
next = successeur;
i = "0";
while ((next ne init) and (i < "50")) {
i = i + "1";
apres = eval (("../" add next) add ":successeur");
len = length(next);
morte = substring(next, "9", len - "8");
Set("../:morte", morte);
tellTarget ("../") {
call("remove_movie");
};
tellTarget ("../" add next) {
removeMovieClip("");
};
next = apres;
}
Set("../:morte", case);
tellTarget ("../") {
call("remove_movie");
};
removeMovieClip("");
Symbol 74 MovieClip Frame 10
stop();
rotation = "2";
call("rotation_extr");
Symbol 74 MovieClip Frame 11
if (../:fin == "0") {
tellTarget ("../" add successeur) {
play();
};
Set("../:score", ../:score + "1");
tellTarget ("../../ctrl") {
call("refresh_score");
};
}
stop();
Symbol 74 MovieClip Frame 12
stop();
init = "carreau_" add case;
next = successeur;
i = "0";
while ((next ne init) and (i < "50")) {
i = i + "1";
apres = eval (("../" add next) add ":successeur");
len = length(next);
morte = substring(next, "9", len - "8");
Set("../:morte", morte);
tellTarget ("../") {
call("remove_movie");
};
tellTarget ("../" add next) {
removeMovieClip("");
};
next = apres;
}
Set("../:morte", case);
tellTarget ("../") {
call("remove_movie");
};
removeMovieClip("");
Symbol 74 MovieClip Frame 15
stop();
rotation = "3";
call("rotation_extr");
Symbol 74 MovieClip Frame 16
if (../:fin == "0") {
tellTarget ("../" add successeur) {
play();
};
Set("../:score", ../:score + "1");
tellTarget ("../../ctrl") {
call("refresh_score");
};
}
stop();
Symbol 74 MovieClip Frame 17
stop();
init = "carreau_" add case;
next = successeur;
i = "0";
while ((next ne init) and (i < "50")) {
i = i + "1";
apres = eval (("../" add next) add ":successeur");
len = length(next);
morte = substring(next, "9", len - "8");
Set("../:morte", morte);
tellTarget ("../") {
call("remove_movie");
};
tellTarget ("../" add next) {
removeMovieClip("");
};
next = apres;
}
Set("../:morte", case);
tellTarget ("../") {
call("remove_movie");
};
removeMovieClip("");
Symbol 74 MovieClip Frame 21
if (rotation == "0") {
extr_1 = case + "1";
extr_2 = case + size;
} else if (rotation == "1") {
extr_1 = case + size;
extr_2 = case - "1";
} else if (rotation == "2") {
extr_1 = case - "1";
extr_2 = case - size;
} else {
extr_1 = case - size;
extr_2 = case + "1";
}
Set("../:case", case);
tellTarget ("../") {
call("test_boucle");
}
Symbol 76 MovieClip Frame 12
gotoAndPlay (1);
Symbol 77 MovieClip Frame 1
time = "0";
fin = "0";
dim = "32";
size = "11";
unused_mini = "0";
unused_max = size * size;
setProperty("carreau_t", _visible , "0");
setProperty("carreau_d", _visible , "0");
setProperty("game_over", _visible , "0");
i = "0";
while (i < (size * size)) {
if (eval ("used_" add eval ("case_" add i)) eq "pris") {
removeMovieClip("carreau_" add i);
}
i = i + "1";
}
score = "0";
tellTarget ("../ctrl") {
call("refresh_score");
}
Symbol 77 MovieClip Frame 2
carre = "2";
case = "60";
spirale = "0";
dir = "haut";
x = "1";
y = "1";
while (carre < "11") {
Set("spirale_" add spirale, case);
Set("case_" add case, spirale);
if (dir eq "haut") {
y = y - "1";
case = case - "11";
if ((x == "0") and (y == "0")) {
carre = carre + "2";
x = "1";
y = "1";
} else if (y == "0") {
dir = "droite";
}
} else if (dir eq "bas") {
y = y + "1";
case = case + "11";
if (y == carre) {
dir = "gauche";
}
} else if (dir eq "droite") {
x = x + "1";
case = case + "1";
if (x == carre) {
dir = "bas";
}
} else {
x = x - "1";
case = case - "1";
if (x == "0") {
dir = "haut";
}
}
spirale = spirale + "1";
}
Set("spirale_" add spirale, case);
Set("case_" add case, spirale);
i = "0";
while (i < "121") {
Set("used_" add i, "libre");
i = i + "1";
}
Symbol 77 MovieClip Frame 3
position_xy = "48";
call("nouveau_carreau");
position_xy = "49";
call("nouveau_carreau");
position_xy = "50";
call("nouveau_carreau");
position_xy = "59";
call("nouveau_carreau");
position_xy = "60";
call("nouveau_carreau");
position_xy = "61";
call("nouveau_carreau");
position_xy = "70";
call("nouveau_carreau");
position_xy = "71";
call("nouveau_carreau");
position_xy = "72";
call("nouveau_carreau");
tempo = "0";
play();
Symbol 77 MovieClip Frame 5
if (/:pause == "0") {
tempo = tempo + "1";
tmp = score;
duree = "11";
while ("50" < tmp) {
tmp = tmp - "50";
duree = duree - "1";
}
if (duree < tempo) {
tempo = "0";
call("chercher_mini");
if (unused_mini >= unused_max) {
gotoAndPlay (6);
} else {
position_xy = eval ("spirale_" add unused_mini);
call("nouveau_carreau");
gotoAndPlay (4);
}
} else {
gotoAndPlay (4);
}
} else {
gotoAndPlay (4);
}
Symbol 77 MovieClip Frame 6
tempo = "0";
fin = "1";
Set("/:game_over", "1");
duplicateMovieClip ("game_over", "fini", "200");
Symbol 77 MovieClip Frame 8
tempo = tempo + "1";
if ("52" < tempo) {
stop();
if (/:lng eq "french") {
tellTarget ("/") {
gotoAndStop ("tis_score_french");
};
} else {
tellTarget ("/") {
gotoAndStop ("tis_score");
};
}
} else {
gotoAndPlay (7);
}
Symbol 77 MovieClip Frame 10
rand = random("5");
name = "carreau_" add position_xy;
if ("1" < rand) {
duplicateMovieClip ("carreau_t", name, position_xy);
} else {
duplicateMovieClip ("carreau_d", name, position_xy);
}
y = int(position_xy / "11");
x = position_xy - ("11" * y);
setProperty(name, _x , ((x * "32") + "16") - "176");
setProperty(name, _y , ((y * "32") + "16") - "176");
tmp = "case_" add position_xy;
Set("used_" add eval (tmp), "pris");
Symbol 77 MovieClip Frame 15
ip = "0";
init = case;
en_cours = init;
call("chercher_extremites");
en_cours = extr_1;
last = init;
result = "1";
cont = "1";
while (cont == "1") {
Set("parcours_" add ip, last);
ip = ip + "1";
tmp = "case_" add en_cours;
if (eval ("used_" add eval (tmp)) eq "pris") {
call("chercher_extremites");
if (extr_1 == last) {
next = extr_2;
} else if (extr_2 == last) {
next = extr_1;
} else {
cont = "0";
result = "0";
}
last = en_cours;
en_cours = next;
if ((last eq init) and (result == "1")) {
Set("parcours_" add ip, init);
result = "1";
cont = "0";
j = "0";
while (j < ip) {
j = j + "1";
}
call("effacement_boucle");
}
} else {
cont = "0";
result = "0";
}
}
Symbol 77 MovieClip Frame 20
extr_1 = eval (("carreau_" add en_cours) add ":extr_1");
extr_2 = eval (("carreau_" add en_cours) add ":extr_2");
Symbol 77 MovieClip Frame 25
j = "0";
while (j < ip) {
name = "carreau_" add eval ("parcours_" add j);
Set(name add ":gel", "1");
k = j + "1";
Set(name add ":successeur", "carreau_" add eval ("parcours_" add k));
j = j + "1";
}
tellTarget ("carreau_" add parcours_0) {
play();
}
Symbol 77 MovieClip Frame 30
tmp = "case_" add morte;
Set("used_" add eval (tmp), "libre");
if (eval (tmp) < unused_mini) {
unused_mini = eval (tmp);
}
Symbol 77 MovieClip Frame 35
while ((eval ("used_" add unused_mini) eq "pris") and (unused_mini < unused_max)) {
unused_mini = unused_mini + "1";
}
Symbol 83 MovieClip Frame 62
tellTarget ("/") {
gotoAndStop ("tis_play");
};
removeMovieClip("");
Symbol 88 MovieClip Frame 62
tellTarget ("/") {
gotoAndStop ("tis_play");
};
removeMovieClip("");
stop();
Symbol 94 Button
on (release) {
tellTarget ("/") {
gotoAndStop ("tis_get_ready");
}
}
Symbol 96 Button
on (release) {
tellTarget ("/") {
gotoAndStop(frame);
}
}
Symbol 100 Button
on (release) {
tellTarget ("/") {
gotoAndStop ("tis_get_ready_french");
}
}
Symbol 102 Button
on (release) {
tellTarget ("/") {
gotoAndStop(frame);
}
}
Symbol 105 MovieClip Frame 12
gotoAndPlay (1);
Symbol 107 Button
on (release) {
tellTarget ("/") {
gotoAndStop ("tis_score");
}
}
Symbol 108 Button
on (release) {
tellTarget ("/") {
gotoAndPlay(frame);
}
}
Symbol 111 Button
on (release) {
tellTarget ("/") {
gotoAndStop ("tis_score_french");
}
}
Symbol 112 Button
on (release) {
tellTarget ("/") {
gotoAndPlay(frame);
}
}
Symbol 120 Button
on (release) {
if (realname ne "") {
if (realname eq "nobody ?") {
realname = "nobody";
} else {
Set("/:exist_name", "1");
}
Set("/:name", realname);
Set("submit:ze_player", /:name);
Set("submit:ze_score", "_" add /game:score);
tellTarget ("submit") {
gotoAndPlay (5);
};
gotoAndStop (2);
} else {
realname = "nobody ?";
}
}
Symbol 122 Button
on (release) {
tellTarget ("/") {
gotoAndStop ("tis_init");
}
}
Symbol 133 MovieClip Frame 13
gotoAndPlay (1);
Symbol 146 Button
on (release) {
nextFrame();
}
Symbol 158 Button
on (release) {
tellTarget ("/") {
gotoAndStop ("tis_init");
};
tellTarget ("..") {
gotoAndPlay (1);
};
gotoAndPlay (1);
}
Symbol 159 MovieClip Frame 1
ze_score = "0";
ze_player = "nobody...";
stop();
Symbol 159 MovieClip Frame 5
loadVariables ("http://flash.games.for.free.fr/moebius/php/score_moebius.php", "", "POST");
recu = "non";
tellTarget ("..") {
gotoAndStop (2);
}
Symbol 159 MovieClip Frame 7
if (recu eq "oui") {
gotoAndPlay (15);
} else {
gotoAndPlay (6);
}
Symbol 159 MovieClip Frame 15
i = "0";
mydisp1player = "";
mydisp1score = "";
while ((i < "10") and (i < pc_nb_results)) {
mydisp1player = (mydisp1player add eval ("pc_player_" add i)) add "\r";
mydisp1score = (mydisp1score add eval ("pc_score_" add i)) add "\r";
i = i + "1";
}
mydisp2player = "";
mydisp2score = "";
while ((i < "20") and (i < pc_nb_results)) {
mydisp2player = (mydisp2player add eval ("pc_player_" add i)) add "\r";
mydisp2score = (mydisp2score add eval ("pc_score_" add i)) add "\r";
i = i + "1";
}
disp_nb1 = "";
disp_nb2 = "";
disp_nb3 = "";
if ("0" < pc_nb_results) {
disp_nb1 = "1st : " add pc_player_0;
}
if ("1" < pc_nb_results) {
disp_nb2 = "2nd : " add pc_player_1;
}
if ("2" < pc_nb_results) {
disp_nb3 = "3rd : " add pc_player_2;
}
if (pc_classification ne "not classified") {
if (pc_classification == "1") {
myclassification = "You are the best player !";
} else if (pc_classification == "2") {
myclassification = "You are the 2nd player !";
} else if (pc_classification == "3") {
myclassification = "You are the 3rd player !";
} else {
myclassification = ("You are the " add pc_classification) add "th player !";
}
} else {
myclassification = "Not classified...";
}
stop();
Symbol 159 MovieClip Frame 16
i = "0";
mydisp1player = "";
mydisp1score = "";
while ((i < "10") and (i < hs_nb_results)) {
mydisp1player = (mydisp1player add eval ("hs_player_" add i)) add "\r";
mydisp1score = (mydisp1score add eval ("hs_score_" add i)) add "\r";
i = i + "1";
}
mydisp2player = "";
mydisp2score = "";
while ((i < "20") and (i < hs_nb_results)) {
mydisp2player = (mydisp2player add eval ("hs_player_" add i)) add "\r";
mydisp2score = (mydisp2score add eval ("hs_score_" add i)) add "\r";
i = i + "1";
}
disp_nb1 = "";
disp_nb2 = "";
disp_nb3 = "";
if ("0" < hs_nb_results) {
disp_nb1 = "1st : " add hs_player_0;
}
if ("1" < hs_nb_results) {
disp_nb2 = "2nd : " add hs_player_1;
}
if ("2" < hs_nb_results) {
disp_nb3 = "3rd : " add hs_player_2;
}
if (hs_classification ne "not classified") {
if (hs_classification == "1") {
myclassification = "You made the best score !";
} else if (hs_classification == "2") {
myclassification = "You made the 2nd score !";
} else if (hs_classification == "3") {
myclassification = "You made the 3rd score !";
} else {
myclassification = ("You made the " add hs_classification) add "th score !";
}
} else {
myclassification = "Score too bad to be classified !";
}
stop();
Symbol 160 MovieClip Frame 1
score = /game:score;
if (score < "50") {
str = "it sucks !";
} else if (score < "100") {
str = "it could have been worse";
} else if (score < "200") {
str = "try again...";
} else if (score < "300") {
str = "very good !";
} else if (score < "400") {
str = "you are a champion !";
} else {
str = "incredible !";
}
comments = "score : " add /game:score;
if (/:exist_name == "1") {
realname = /:name;
}
stop();
Symbol 160 MovieClip Frame 2
stop();
Symbol 166 Button
on (release) {
if (realname ne "") {
if (realname eq "personne ?") {
realname = "personne";
} else {
Set("/:exist_name", "1");
}
Set("/:name", realname);
Set("submit_french:ze_player", /:name);
Set("submit_french:ze_score", "_" add /game:score);
tellTarget ("submit_french") {
gotoAndPlay (5);
};
gotoAndStop (2);
} else {
realname = "personne ?";
}
}
Symbol 168 Button
on (release) {
tellTarget ("/") {
gotoAndStop ("tis_init_french");
}
}
Symbol 176 MovieClip Frame 13
gotoAndPlay (1);
Symbol 188 Button
on (release) {
nextFrame();
}
Symbol 200 Button
on (release) {
tellTarget ("/") {
gotoAndStop ("tis_init_french");
};
tellTarget ("..") {
gotoAndPlay (1);
};
gotoAndPlay (1);
}
Symbol 201 MovieClip Frame 1
ze_score = "0";
ze_player = "nobody...";
stop();
Symbol 201 MovieClip Frame 5
loadVariables ("http://flash.games.for.free.fr/moebius/php/score_moebius.php", "", "POST");
recu = "non";
tellTarget ("..") {
gotoAndStop (2);
}
Symbol 201 MovieClip Frame 7
if (recu eq "oui") {
gotoAndPlay (15);
} else {
gotoAndPlay (6);
}
Symbol 201 MovieClip Frame 15
i = "0";
mydisp1player = "";
mydisp1score = "";
while ((i < "10") and (i < pc_nb_results)) {
mydisp1player = (mydisp1player add eval ("pc_player_" add i)) add "\r";
mydisp1score = (mydisp1score add eval ("pc_score_" add i)) add "\r";
i = i + "1";
}
mydisp2player = "";
mydisp2score = "";
while ((i < "20") and (i < pc_nb_results)) {
mydisp2player = (mydisp2player add eval ("pc_player_" add i)) add "\r";
mydisp2score = (mydisp2score add eval ("pc_score_" add i)) add "\r";
i = i + "1";
}
disp_nb1 = "";
disp_nb2 = "";
disp_nb3 = "";
if ("0" < pc_nb_results) {
disp_nb1 = "1er(e) : " add pc_player_0;
}
if ("1" < pc_nb_results) {
disp_nb2 = "2eme : " add pc_player_1;
}
if ("2" < pc_nb_results) {
disp_nb3 = "3eme : " add pc_player_2;
}
if (pc_classification ne "not classified") {
if (pc_classification == "1") {
myclassification = "Tu es le meilleur joueur !";
} else {
myclassification = ("Tu es le " add pc_classification) add "eme joueur !";
}
} else {
myclassification = "Non classé(e)...";
}
stop();
Symbol 201 MovieClip Frame 16
i = "0";
mydisp1player = "";
mydisp1score = "";
while ((i < "10") and (i < hs_nb_results)) {
mydisp1player = (mydisp1player add eval ("hs_player_" add i)) add "\r";
mydisp1score = (mydisp1score add eval ("hs_score_" add i)) add "\r";
i = i + "1";
}
mydisp2player = "";
mydisp2score = "";
while ((i < "20") and (i < hs_nb_results)) {
mydisp2player = (mydisp2player add eval ("hs_player_" add i)) add "\r";
mydisp2score = (mydisp2score add eval ("hs_score_" add i)) add "\r";
i = i + "1";
}
disp_nb1 = "";
disp_nb2 = "";
disp_nb3 = "";
if ("0" < hs_nb_results) {
disp_nb1 = "1er(e) : " add hs_player_0;
}
if ("1" < hs_nb_results) {
disp_nb2 = "2eme : " add hs_player_1;
}
if ("2" < hs_nb_results) {
disp_nb3 = "3eme : " add hs_player_2;
}
if (hs_classification ne "not classified") {
if (hs_classification == "1") {
myclassification = "Tu as fait le meilleur score !";
} else {
myclassification = ("Tu as fait le " add hs_classification) add "eme score !";
}
} else {
myclassification = "Score trop nul pour être classé !";
}
stop();
Symbol 202 MovieClip Frame 1
score = /game:score;
if (score < "50") {
str = "c'est nul !";
} else if (score < "100") {
str = "ça aurait pu être pire";
} else if (score < "200") {
str = "essaie encore...";
} else if (score < "300") {
str = "pas mal du tout !";
} else if (score < "400") {
str = "trop fort !";
} else {
str = "tu triches ou quoi ?!";
}
comments = "score : " add /game:score;
if (/:exist_name == "1") {
realname = /:name;
}
stop();
Symbol 202 MovieClip Frame 2
stop();
Symbol 204 Button
on (release) {
tellTarget ("/") {
gotoAndStop(frame);
}
}
Symbol 208 Button
on (release) {
tellTarget ("/") {
gotoAndStop(frame);
}
}