Frame 1
if (intro != 0) {
go_url = 0;
thesound = 1;
lang = System.capabilities.language;
timetogodeb = 0;
if (((lang == "fr") or (lang == "FR")) or (lang == "Fr")) {
testEN._y = -1000;
testFR._y = 315;
rulesFR._y = 13;
rulesEN._y = 450;
} else {
testFR._y = -1000;
testEN._y = 315;
}
musik = new Sound();
musik.attachSound("musik");
musik.start(0);
error = new Sound();
error.attachSound("error");
soundsetcard = new Sound();
soundsetcard.attachSound("soundsetcard");
soundtimesup = new Sound();
soundtimesup.attachSound("soundtimesup");
selecte = new Sound();
selecte.attachSound("selecte");
pickup = new Sound();
pickup.attachSound("pickup");
}
intro = 0;
barre._width = barre._width + 2.4;
if (((lang == "fr") or (lang == "FR")) or (lang == "Fr")) {
versFR._y = 380;
}
Instance of Symbol 24 MovieClip in Frame 1
/* no clip actions */
Instance of Symbol 55 MovieClip "testEN" in Frame 1
on (release) {
desturl = (("http://www.intelligence-test.eu/index.php?lang=" + _root.lang) + "&ref=") + _root.fond._url;
getURL (desturl);
_root.go_url = 1;
_root.go_url2 = desturl;
}
on (rollOver) {
this._alpha = 50;
}
on (rollOut) {
this._alpha = 100;
}
Instance of Symbol 58 MovieClip "testFR" in Frame 1
on (release) {
desturl = "http://www.test-de-qi.net/index.php?ref=" + _root.fond._url;
getURL (desturl);
_root.go_url = 1;
_root.go_url2 = desturl;
}
on (rollOver) {
this._alpha = 50;
}
on (rollOut) {
this._alpha = 100;
}
Instance of Symbol 62 MovieClip "rulesEN" in Frame 1
on (rollOver) {
_root.rulesEN._alpha = 50;
}
on (rollOut) {
_root.rulesEN._alpha = 100;
}
on (release) {
getURL ("http://www.high-scores.eu/rules-flashxagon-6.html", "_blank");
}
Instance of Symbol 64 MovieClip "rulesFR" in Frame 1
on (rollOver) {
_root.rulesFR._alpha = 50;
}
on (rollOut) {
_root.rulesFR._alpha = 100;
}
on (release) {
getURL ("http://www.high-scores.eu/regles-flashxagon-6.html", "_blank");
}
Frame 2
if (barre._width < 390) {
gotoAndPlay (1);
} else {
gotoAndPlay (3);
}
Frame 3
pos = function (lacase, i, j) {
lacase._x = (init_x + ((8 - i) * 30)) + (j * 30);
lacase._y = (init_y + (j * 10)) + (i * 10);
};
init = function (intro) {
if (((lang == "fr") or (lang == "FR")) or (lang == "Fr")) {
txtEN._x = -1000;
txtFR._x = 428;
testEN._y = -1000;
testFR._y = 250;
} else {
txtFR._x = -1000;
txtEN._x = 428;
testFR._y = -1000;
testEN._y = 250;
}
tab = [[2, 0, 0, 0, 1, 5, 5, 5, 5], [0, 0, 0, 0, 0, 0, 5, 5, 5], [0, 0, 0, 0, 0, 0, 0, 5, 5], [0, 0, 0, 0, 5, 0, 0, 0, 5], [1, 0, 0, 5, 0, 0, 0, 0, 2], [5, 0, 0, 0, 0, 5, 0, 0, 0], [5, 5, 0, 0, 0, 0, 0, 0, 0], [5, 5, 5, 0, 0, 0, 0, 0, 0], [5, 5, 5, 5, 2, 0, 0, 0, 1]];
ti = [-1, -1, 0, 0, 1, 1];
tj = [-1, 0, -1, 1, 0, 1];
ui = [-2, -1, 0, -2, 1, -2, 2, -1, 2, 0, 1, 2];
uj = [-2, -2, -2, -1, -1, 0, 0, 1, 1, 2, 2, 2];
pts_v = 3;
pts_r = 3;
nb_coups = 0;
nb = 0;
rouge_mvt_ref = 0;
cpt = 0;
mvt_vert = 0;
mvt_rouge = 0;
the_time = 0;
pts = 0;
final.pts = "";
init_x = 15;
init_y = 40;
devant._alpha = 5;
if (intro == 1) {
var i = 0;
while (i < 9) {
var j = 0;
while (j < 9) {
if (tab[i][j] < 5) {
duplicateMovieClip (base, "case" + nb, nb);
pos(_root["case" + nb], i, j);
nb++;
}
if (tab[i][j] == 1) {
duplicateMovieClip (vert, (("vert" + i) + "") + j, nb);
pos(_root[(("vert" + i) + "") + j], i, j);
nb++;
}
if (tab[i][j] == 2) {
duplicateMovieClip (rouge, (("rouge" + i) + "") + j, nb);
pos(_root[(("rouge" + i) + "") + j], i, j);
nb++;
}
j++;
}
i++;
}
}
};
init(1);
duplique = function (nom) {
duplicateMovieClip (vert, nom, nb);
_root.nom = nom;
pos(_root[nom], posx, posy);
};
verif = function () {
sortie_rouge1 = 0;
sortie_vert1 = 0;
sortie_rouge2 = 0;
sortie_vert2 = 0;
pts_v2 = 0;
pts_r2 = 0;
tab_hasard1x = [];
tab_hasard1y = [];
tab_hasard1i = [];
tab_hasard1j = [];
tab_hasard2x = [];
tab_hasard2y = [];
tab_hasard2i = [];
tab_hasard2j = [];
cpt_hasard1 = 0;
cpt_hasard2 = 0;
var i = 0;
while (i < 9) {
var j = 0;
while (j < 9) {
if (tab[i][j] == 1) {
pts_v2++;
}
if ((tab[i][j] == 2) or (tab[i][j] == 3)) {
pts_r2++;
}
if ((tab[i][j] > 0) and (tab[i][j] < 4)) {
kk = 0;
var k = 0;
while (k < 12) {
ax = i + ti[k];
ay = j + tj[k];
bx = i + ui[k];
by = j + uj[k];
if (tab[i][j] == 1) {
if ((k < 6) and (tab[ax][ay] == 0)) {
sortie_vert1 = 1;
}
if (tab[bx][by] == 0) {
sortie_vert2 = 1;
}
}
if ((tab[i][j] == 2) or (tab[i][j] == 3)) {
if ((k < 6) and (tab[ax][ay] == 0)) {
kk = 1;
sortie_rouge1 = 1;
tab_hasard1x[cpt_hasard1] = ax;
tab_hasard1y[cpt_hasard1] = ay;
tab_hasard1i[cpt_hasard1] = i;
tab_hasard1j[cpt_hasard1] = j;
cpt_hasard1++;
}
if (tab[bx][by] == 0) {
kk = 1;
sortie_rouge2 = 1;
tab_hasard2x[cpt_hasard2] = bx;
tab_hasard2y[cpt_hasard2] = by;
tab_hasard2i[cpt_hasard2] = i;
tab_hasard2j[cpt_hasard2] = j;
cpt_hasard2++;
}
}
k++;
}
if ((tab[i][j] == 2) or (tab[i][j] == 3)) {
if (kk == 0) {
tab[i][j] = 3;
} else {
tab[i][j] = 2;
}
}
}
j++;
}
i++;
}
if (((sortie_rouge1 == 1) or (sortie_rouge2 == 1)) and ((sortie_vert1 == 1) or (sortie_vert2 == 1))) {
sortie = true;
} else {
sortie = false;
}
pts_v = pts_v2;
pts_r = pts_r2;
return(sortie);
};
nb_vert = function (a, b) {
z = 0;
nb_v = 0;
while (z < 6) {
if (tab[a + ti[z]][b + tj[z]] == 1) {
nb_v++;
}
z++;
}
return(nb_v);
};
nb_rouge = function (a, b) {
z = 0;
nb_r = 0;
while (z < 6) {
if ((tab[a + ti[z]][b + tj[z]] == 2) or (tab[a + ti[z]][b + tj[z]] == 3)) {
nb_r++;
}
z++;
}
return(nb_r);
};
attaque_normale = function () {
memo = 0;
efface = 0;
memo4 = -5;
var m = 0;
while (m < tab_rouge_i.length) {
i = tab_rouge_i[m];
j = tab_rouge_j[m];
k = 11;
while (k >= 0) {
bx = i + ui[k];
by = j + uj[k];
if (tab[bx][by] == 0) {
memo3 = nb_rouge(i, j);
memo2 = nb_vert(bx, by);
if ((memo2 > memo) and ((memo2 - memo3) > memo4)) {
efface = 1;
axi = i;
ayi = j;
ax = bx;
ay = by;
cx = i;
cy = j;
memo = memo2;
if ((memo2 - memo3) > memo4) {
memo4 = memo2 - memo3;
}
}
}
bx = i + ti[k];
by = j + tj[k];
if (k < 6) {
if (tab[bx][by] == 0) {
memo2 = nb_vert(bx, by);
if (memo2 >= memo) {
efface = 0;
axi = i;
ayi = j;
ax = bx;
ay = by;
memo = memo2;
}
}
}
k--;
}
m++;
}
if (efface == 1) {
tab[cx][cy] = 0;
removeMovieClip(_root[(("rouge" + cx) + "") + cy]);
}
if (memo == 0) {
ax = -1;
ay = -1;
}
};
attaque_hasard = function () {
ax = -1;
ay = -1;
if (sortie_rouge1 == 1) {
aleatoire = random(cpt_hasard1);
axi = tab_hasard1i[aleatoire];
ayi = tab_hasard1j[aleatoire];
ax = tab_hasard1x[aleatoire];
ay = tab_hasard1y[aleatoire];
} else {
aleatoire = random(cpt_hasard2);
axi = tab_hasard2i[aleatoire];
ayi = tab_hasard2j[aleatoire];
ax = tab_hasard2x[aleatoire];
ay = tab_hasard2y[aleatoire];
tab[axi][ayi] = 0;
removeMovieClip(_root[(("rouge" + i) + "") + j]);
}
};
color_red = function () {
k = 0;
while (k < 6) {
bx = posx + ti[k];
by = posy + tj[k];
if ((tab[bx][by] == 2) or (tab[bx][by] == 3)) {
removeMovieClip(_root[(("rouge" + bx) + "") + by]);
duplicateMovieClip (vert, (("vert" + bx) + "") + by, nb);
pts_v++;
pts_r--;
nb++;
pos(_root[(("vert" + bx) + "") + by], bx, by);
tab[bx][by] = 1;
}
k++;
}
};
rouge_mvt = function () {
tab_rouge_i = [];
tab_rouge_j = [];
k = 0;
var i = 0;
while (i < 9) {
var j = 0;
while (j < 9) {
if (tab[i][j] == 2) {
tab_rouge_i[k] = i;
tab_rouge_j[k] = j;
k++;
}
j++;
}
i++;
}
ax = -1;
ay = -1;
if (nb_coups > 5) {
attaque_normale();
}
if ((ax == -1) and (ay == -1)) {
attaque_hasard();
}
duplicateMovieClip (rouge, (("rouge" + ax) + "") + ay, nb);
nb++;
pos(_root[(("rouge" + ax) + "") + ay], axi, ayi);
pas_x = (ax - axi) / 12;
pas_y = (ay - ayi) / 12;
pas = 0;
mvt_rouge = 1;
if (_root.thesound == 1) {
_root.soundsetcard.start(0);
}
};
autour = function (i, j) {
var k = 0;
while (k < 12) {
ax = i + ti[k];
ay = j + tj[k];
if ((k < 6) and (tab[ax][ay] == 0)) {
nom = (("vertA" + ax) + "") + ay;
duplicateMovieClip (move, nom, nb);
_root[nom]._alpha = 40;
pos(_root[nom], ax, ay);
nb++;
}
ax = i + ui[k];
ay = j + uj[k];
if (tab[ax][ay] == 0) {
nom = (("vertB" + ax) + "") + ay;
duplicateMovieClip (move2, nom, nb);
_root[nom]._alpha = 40;
pos(_root[nom], ax, ay);
nb++;
}
k++;
}
};
delete_all = function (i, j) {
var k = 0;
while (k < 12) {
ax = i + ti[k];
ay = j + tj[k];
if ((k < 6) and (tab[ax][ay] == 0)) {
removeMovieClip(_root[(("vertA" + ax) + "") + ay]);
}
ax = i + ui[k];
ay = j + uj[k];
if (tab[ax][ay] == 0) {
removeMovieClip(_root[(("vertB" + ax) + "") + ay]);
}
k++;
}
};
_root.onEnterFrame = function () {
if (go == 1) {
if (red._alpha > 0) {
red._alpha = red._alpha - 3;
green._alpha = green._alpha + 3;
}
} else if (red._alpha < 100) {
red._alpha = red._alpha + 3;
green._alpha = green._alpha - 3;
}
if (((pts_v + pts_r) == 58) or (game == "Game Over")) {
if (final.pts != pts) {
devant._alpha = 10;
if (((lang == "fr") or (lang == "FR")) or (lang == "Fr")) {
saveEN._y = -1000;
saveFR._y = 300;
} else {
saveFR._y = -1000;
saveEN._y = 300;
}
if ((pts_v + pts_r) != 58) {
if ((sortie_rouge1 == 0) and (sortie_rouge2 == 0)) {
pts = Math.round(((pts_v * 1000) + ((pts_v - pts_r) * 3000)) / the_time2);
}
if ((sortie_vert1 == 0) and (sortie_vert2 == 0)) {
pts = Math.round((pts_v * 500) / the_time2);
}
} else {
if (pts_v > pts_r) {
pts = Math.round((pts_v * 1000) / the_time2);
}
if (pts_v == pts_r) {
pts = Math.round((pts_v * 7500) / the_time2);
}
if (pts_v < pts_r) {
pts = Math.round((pts_v * 500) / the_time2);
}
}
if (pts_v > pts_r) {
if (_root.thesound == 1) {
_root.pickup.start(0);
}
} else if (_root.thesound == 1) {
_root.soundtimesup.start(0);
}
final.pts = pts;
stop();
}
} else {
the_time = the_time + 0.0277777777777778;
the_time2 = Math.floor(the_time);
tim.timer = the_time2;
}
if (mvt_vert == 1) {
pos(_root[nom], posx_new, posy_new);
posx_new = posx_new + pas_x;
posy_new = posy_new + pas_y;
if (pas == 12) {
color_red();
rouge_mvt_ref = 1;
mvt_vert = 0;
}
pas++;
}
if (mvt_rouge == 1) {
if (pas < 13) {
pos(_root[(("rouge" + ax) + "") + ay], axi, ayi);
}
axi = axi + pas_x;
ayi = ayi + pas_y;
if (pas == 13) {
tab[ax][ay] = 2;
mvt_rouge = 0;
k = 0;
while (k < 6) {
bx = ax + ti[k];
by = ay + tj[k];
if (tab[bx][by] == 1) {
removeMovieClip(_root[(("vert" + bx) + "") + by]);
duplicateMovieClip (rouge, (("rouge" + bx) + "") + by, nb);
pts_r++;
pts_v--;
nb++;
pos(_root[(("rouge" + bx) + "") + by], bx, by);
tab[bx][by] = 2;
}
k++;
}
pts_r++;
cpt = 7;
}
pas++;
}
if (rouge_mvt_ref == 1) {
if (cpt < 5) {
cpt++;
} else {
if (cpt == 5) {
nb_coups++;
if (verif()) {
cpt++;
rouge_mvt();
} else {
pts_v = pts_v + (58 - (pts_r + pts_v));
var i = 0;
while (i < 9) {
var j = 0;
while (j < 9) {
if (tab[i][j] == 0) {
duplicateMovieClip (vert, (("vert" + i) + "") + j, nb);
pos(_root[(("vert" + i) + "") + j], i, j);
nb++;
}
j++;
}
i++;
}
game = "Game Over";
stop();
}
}
if (cpt == 7) {
nb_coups++;
if (verif()) {
cpt = 0;
} else {
pts_r = pts_r + (58 - (pts_r + pts_v));
var i = 0;
while (i < 9) {
var j = 0;
while (j < 9) {
if (tab[i][j] == 0) {
duplicateMovieClip (rouge, (("rouge" + i) + "") + j, nb);
pos(_root[(("rouge" + i) + "") + j], i, j);
nb++;
}
j++;
}
i++;
}
game = "Game Over";
stop();
}
rouge_mvt_ref = 0;
}
}
}
};
stop();
Instance of Symbol 77 MovieClip "move2" in Frame 3
on (release) {
if (_root.thesound == 1) {
_root.soundsetcard.start(0);
}
if ((_root.rouge_mvt_ref == 0) and (this._name.charAt(4) == "B")) {
_root.posx_old = _root.posx;
_root.posy_old = _root.posy;
nom = ("vert" + this._name.charAt(5)) + this._name.charAt(6);
_root.duplique(nom);
_root.posx = Number(this._name.charAt(5));
_root.posy = Number(this._name.charAt(6));
_root.posx_new = _root.posx_old;
_root.posy_new = _root.posy_old;
_root.pas_x = (_root.posx - _root.posx_old) / 12;
_root.pas_y = (_root.posy - _root.posy_old) / 12;
_root.pas = 0;
_root.tab[_root.posx][_root.posy] = 1;
_root.nb++;
_root.delete_all(_root.posx_old, _root.posy_old);
removeMovieClip(_root[("vert" + _root.posx_old) + _root.posy_old]);
_root.tab[_root.posx_old][_root.posy_old] = 0;
_root.mvt_vert = 1;
removeMovieClip(this);
}
}
Instance of Symbol 79 MovieClip "move" in Frame 3
on (release) {
if (_root.thesound == 1) {
_root.soundsetcard.start(0);
}
if ((_root.rouge_mvt_ref == 0) and (this._name.charAt(4) == "A")) {
_root.posx_old = _root.posx;
_root.posy_old = _root.posy;
nom = ("vert" + this._name.charAt(5)) + this._name.charAt(6);
_root.duplique(nom);
_root.posx = Number(this._name.charAt(5));
_root.posy = Number(this._name.charAt(6));
_root.posx_new = _root.posx_old;
_root.posy_new = _root.posy_old;
_root.pas_x = (_root.posx - _root.posx_old) / 12;
_root.pas_y = (_root.posy - _root.posy_old) / 12;
_root.pas = 0;
_root.tab[_root.posx][_root.posy] = 1;
_root.nb++;
_root.delete_all(_root.posx_old, _root.posy_old);
_root.mvt_vert = 1;
removeMovieClip(this);
}
}
Instance of Symbol 55 MovieClip "testEN" in Frame 3
on (release) {
desturl = (("http://www.intelligence-test.eu/index.php?lang=" + _root.lang) + "&ref=") + _root.fond._url;
getURL (desturl);
_root.go_url = 1;
_root.go_url2 = desturl;
}
on (rollOver) {
this._alpha = 50;
}
on (rollOut) {
this._alpha = 100;
}
Instance of Symbol 58 MovieClip "testFR" in Frame 3
on (release) {
desturl = "http://www.test-de-qi.net/index.php?ref=" + _root.fond._url;
getURL (desturl);
_root.go_url = 1;
_root.go_url2 = desturl;
}
on (rollOver) {
this._alpha = 50;
}
on (rollOut) {
this._alpha = 100;
}
Instance of Symbol 101 MovieClip "vert" in Frame 3
on (release) {
if (_root.thesound == 1) {
_root.selecte.start(0);
}
if (((_root.rouge_mvt_ref == 0) and (this._name.charAt(4) != "A")) and (this._name.charAt(4) != "B")) {
_root.delete_all(_root.posx, _root.posy);
_root.posx = Number(this._name.charAt(4));
_root.posy = Number(this._name.charAt(5));
_root.autour(_root.posx, _root.posy);
}
}
Instance of Symbol 106 MovieClip "saveEN" in Frame 3
on (release) {
code1 = ["1", "C", "D", "A", "6", "4", "3", "E", "F", "0"];
code2 = ["A", "C", "D", "1", "4", "3", "9", "B", "5", "2"];
equa1 = (_root.pts + 10) * 11;
equa2 = (_root.pts + 11) * 11;
score_string1 = equa1.toString();
score_string2 = equa2.toString();
while (score_string1.length < score_string2.length) {
score_string1 = "0" + score_string1;
}
i = 0;
codage = "";
while (i < score_string2.length) {
pos_string1 = Number(score_string1.charAt(i));
pos_string2 = Number(score_string2.charAt(i));
codage = (codage + code1[pos_string1]) + code2[pos_string2];
i++;
}
desturl = (("http://www.high-scores.eu/index.php?page=10&game=7&lang=" + _root.lang) + "&result=") + codage;
getURL (desturl);
_root.go_url = 1;
_root.go_url2 = desturl;
}
on (rollOver) {
this._alpha = 50;
}
on (rollOut) {
this._alpha = 100;
}
Instance of Symbol 108 MovieClip "saveFR" in Frame 3
on (release) {
code1 = ["1", "C", "D", "A", "6", "4", "3", "E", "F", "0"];
code2 = ["A", "C", "D", "1", "4", "3", "9", "B", "5", "2"];
equa1 = (_root.pts + 10) * 11;
equa2 = (_root.pts + 11) * 11;
score_string1 = equa1.toString();
score_string2 = equa2.toString();
while (score_string1.length < score_string2.length) {
score_string1 = "0" + score_string1;
}
i = 0;
codage = "";
while (i < score_string2.length) {
pos_string1 = Number(score_string1.charAt(i));
pos_string2 = Number(score_string2.charAt(i));
codage = (codage + code1[pos_string1]) + code2[pos_string2];
i++;
}
desturl = (("http://www.high-scores.eu/index.php?page=10&game=7&lang=" + _root.lang) + "&result=") + codage;
getURL (desturl);
_root.go_url = 1;
_root.go_url2 = desturl;
}
on (rollOver) {
this._alpha = 50;
}
on (rollOut) {
this._alpha = 100;
}
Symbol 10 Button
on (press) {
getURL ("http://www.flash-gamer.eu");
}
Symbol 11 Button
on (press) {
getURL ("http://www.high-scores.eu");
}
Symbol 12 Button
on (press) {
getURL ("http://www.iq-tests.eu");
}
Symbol 13 Button
on (press) {
getURL ("http://www.zodiac-games.com");
}
Symbol 14 Button
on (press) {
getURL ("http://www.intelligence-test.eu");
}
Symbol 15 Button
on (press) {
getURL ("http://www.my-iq.net");
}
Symbol 16 Button
on (press) {
getURL ("http://www.z-lyrics.eu");
}
Symbol 17 Button
on (press) {
getURL ("http://www.inachisio.com");
}
Symbol 18 Button
on (press) {
getURL ("http://www.clock4blog.eu");
}
Symbol 19 Button
on (press) {
getURL ("http://www.photo-pixel.eu");
}
Symbol 20 Button
on (press) {
getURL ("http://www.guitare-tabs.eu");
}
Symbol 21 Button
on (press) {
getURL ("http://www.test-de-qi.eu");
}
Symbol 22 Button
on (press) {
getURL ("http://www.agora-photo.com");
}
Symbol 23 Button
on (press) {
getURL ("http://www.test-de-qi.net");
}
Symbol 24 MovieClip Frame 1
if (_root.go == 1) {
if ((_root.red._alpha > 0) or (_root.green._alpha < 100)) {
_root.red._alpha = _root.red._alpha - 3;
_root.green._alpha = _root.green._alpha + 3;
}
} else if ((_root.red._alpha < 100) or (_root.green._alpha > 0)) {
_root.red._alpha = _root.red._alpha + 3;
_root.green._alpha = _root.green._alpha - 3;
}
if (_root._url.substr(0, 4) == "http") {
if (_root.go_url == 1) {
_root.timetogodeb = getTimer();
_root.go_url = 2;
}
if ((_root.go_url == 2) and ((getTimer() - _root.timetogodeb) > 1000)) {
getURL (_root.go_url2, "_blank");
_root.go_url = 0;
}
}
Symbol 24 MovieClip Frame 2
if (_root.go == 1) {
if ((_root.red._alpha > 0) or (_root.green._alpha < 100)) {
_root.red._alpha = _root.red._alpha - 3;
_root.green._alpha = _root.green._alpha + 3;
}
} else if ((_root.red._alpha < 100) or (_root.green._alpha > 0)) {
_root.red._alpha = _root.red._alpha + 3;
_root.green._alpha = _root.green._alpha - 3;
}
if (_root._url.substr(0, 4) == "http") {
if (_root.go_url == 1) {
_root.timetogodeb = getTimer();
_root.go_url = 2;
}
if ((_root.go_url == 2) and ((getTimer() - _root.timetogodeb) > 1000)) {
getURL (_root.go_url2, "_blank");
_root.go_url = 0;
}
}
Symbol 38 Button
on (release) {
desturl = "http://www.high-scores.eu/index.php?lang=" + _root.lang;
getURL (desturl);
_root.go_url = 1;
_root.go_url2 = desturl;
}
on (rollOver) {
_root.go = 1;
}
on (rollOut) {
_root.go = 0;
}
Symbol 56 Button
on (release) {
_root.error.start(0);
_root.init();
}
on (rollOver) {
this.button._alpha = 30;
}
on (rollOut) {
this.button._alpha = 0;
}
Symbol 96 Button
on (release) {
if (_root.thesound == 0) {
_root.snd_ok._alpha = 0;
_root.thesound = 1;
stopAllSounds();
_root.error.start(0, 1);
} else {
_root.snd_ok._alpha = 100;
_root.thesound = 0;
}
}
Symbol 113 Button
on (release) {
desturl = "http://www.high-scores.eu/index.php?lang=" + _root.lang;
getURL (desturl);
_root.go_url = 1;
_root.go_url2 = desturl;
}
on (rollOver) {
_root.go = 1;
}
on (rollOut) {
_root.go = 0;
}