Frame 1
function explode(x, y, t) {
var _local2 = pti++;
var _local1 = "boom" + _local2;
switch (t) {
case 1 :
boom_pse.duplicateMovieClip(_local1, _local2);
break;
case 2 :
boom_oil.duplicateMovieClip(_local1, _local2);
break;
case 3 :
boom_bloc.duplicateMovieClip(_local1, _local2);
}
setProperty(_local1, _x , (x + random(21)) - 10);
setProperty(_local1, _y , y);
}
stop();
fscommand ("allowscale", "false");
k_up = 38;
k_down = 40;
k_left = 37;
k_right = 39;
k_action = 32;
bestscore = 0;
pti = 200;
s_warning = new Sound();
s_warning.attachSound("s_warning");
s_alarm = new Sound();
s_alarm.attachSound("s_alarm");
s_warning = new Sound();
s_warning.attachSound("s_warning");
s_explode = new Sound();
s_explode.attachSound("s_explode");
s_tapis = new Sound();
s_tapis.attachSound("s_tapis");
s_pack = new Sound();
s_pack.attachSound("s_pack");
s_manette = new Sound();
s_manette.attachSound("s_manette");
s_recycled = new Sound();
s_recycled.attachSound("s_recycled");
s_oil = new Sound();
s_oil.attachSound("s_oil");
s_pse = new Sound();
s_pse.attachSound("s_pse");
s_clic = new Sound();
s_clic.attachSound("s_clic");
s_rollover = new Sound();
s_rollover.attachSound("s_rollover");
s_moule = new Sound();
s_moule.attachSound("s_moule");
s_fleche = new Sound();
s_fleche.attachSound("s_fleche");
Instance of Symbol 18 MovieClip in Frame 1
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
var charg = _root.getBytesLoaded();
var rcharg = Math.round((charg * 100) / total);
loader._y = ((-rcharg) * 4) + 400;
if (charg >= total) {
_root.gotoAndStop("titre");
}
_root.explode(loader._x + this._x, loader._y + this._y, 1);
_root.explode((loader._x - 10) + this._x, loader._y + this._y, 1);
_root.explode((loader._x + 10) + this._x, loader._y + this._y, 1);
}
Frame 2
stop();
Mouse.show();
objet.gotoAndStop(19);
Frame 3
function PSE_screen() {
var _local1 = 0;
while (_local1 < 15) {
var _local2 = "pse.g_" + _local1;
setProperty(_local2, _visible , box_pse_g[_local1]);
_local2 = "pse.d_" + _local1;
setProperty(_local2, _visible , box_pse_d[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < 10) {
var _local2 = "pse.b_" + _local1;
setProperty(_local2, _visible , box_pse_b[_local1]);
_local1++;
}
}
function HERO_screen() {
var _local1 = 0;
while (_local1 < 21) {
var _local2 = "hero.h_" + _local1;
setProperty(_local2, _visible , box_heros[_local1]);
_local1++;
}
}
stop();
Mouse.hide();
box_hero = new Array(2, 1, 1, 1, 1, 1, 2, 0, 1, 0, 0, 0, 1, 0, 2, 1, 2, 2, 2, 1, 2);
box_heros = new Array(0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
box_pse_g = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
box_pse_gt = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
box_pse_d = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
box_pse_dt = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
box_pse_b = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
box_pse_bt = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
pos = 3;
speed_0 = (speed = 30);
timer_0 = (timer = 150);
score = 0;
car_g.go = (car_d.go = 0);
car_g.acc = (car_d.acc = 0);
m_g_1 = (m_g_2 = false);
m_d_1 = (m_d_2 = false);
m_b = 1;
objet.go = 0;
objet.acc = 0;
objet.n = 1;
pti = 200;
death = 0;
clavier = new Object();
clavier.onKeyUp = function () {
if ((Key.getCode() == k_right) && (box_hero[pos + 1] > 0)) {
box_heros[pos] = 0;
pos++;
box_heros[pos] = 1;
}
if ((Key.getCode() == k_left) && (box_hero[pos - 1] > 0)) {
box_heros[pos] = 0;
pos--;
box_heros[pos] = 1;
}
if ((Key.getCode() == k_up) && (box_hero[pos - 7] > 0)) {
box_heros[pos] = 0;
pos = pos - 7;
box_heros[pos] = 1;
}
if ((Key.getCode() == k_down) && (box_hero[pos + 7] > 0)) {
box_heros[pos] = 0;
pos = pos + 7;
box_heros[pos] = 1;
}
if ((Key.getCode() == k_action) && (box_hero[pos] == 2)) {
switch (pos) {
case 0 :
decors.m_g_1.gotoAndPlay(2);
m_g_1 = true;
hero.h_0.gotoAndPlay(21);
s_manette.start();
return;
case 14 :
decors.m_g_2.gotoAndPlay(2);
m_g_2 = true;
hero.h_14.gotoAndPlay(21);
s_manette.start();
return;
case 6 :
decors.m_d_1.gotoAndPlay(2);
m_d_1 = true;
hero.h_6.gotoAndPlay(21);
s_manette.start();
return;
case 20 :
decors.m_d_2.gotoAndPlay(2);
m_d_2 = true;
hero.h_20.gotoAndPlay(21);
s_manette.start();
return;
case 16 :
decors.m_b.gotoAndStop(1);
m_b = 0;
hero.h_16.gotoAndPlay(21);
s_fleche.start();
return;
case 17 :
decors.m_b.gotoAndStop(2);
m_b = 1;
hero.h_17.gotoAndPlay(21);
s_fleche.start();
return;
case 18 :
decors.m_b.gotoAndStop(3);
m_b = 2;
hero.h_18.gotoAndPlay(21);
s_fleche.start();
}
}
};
Key.addListener(clavier);
decors.m_b.gotoAndStop(2);
var i = 0;
while (i < 15) {
var tmp = ("pse.g_" + i);
setProperty(tmp, _visible , false);
var tmp = ("pse.d_" + i);
setProperty(tmp, _visible , false);
i++;
}
var i = 0;
while (i < 21) {
var tmp = ("hero.h_" + i);
setProperty(tmp, _visible , false);
i++;
}
Instance of Symbol 158 MovieClip in Frame 3
onClipEvent (enterFrame) {
with (_root) {
if (score_grid._alpha > 0) {
score_grid._alpha = score_grid._alpha - 5;
}
switch (objet.go) {
case 0 :
s_tapis.start();
objet.go = 1;
objet.n = random(54) + 1;
objet.gotoAndStop(objet.n);
objet.nx = 151;
break;
case 1 :
objet._x = objet._x + ((objet.nx - objet._x) * 0.12);
if (Math.round(objet._x) == objet.nx) {
objet.go = 2;
}
break;
case 2 :
if (((box_pse_b[0] && (box_pse_b[3])) && (box_pse_b[6])) && (m_b == 0)) {
decors.m_b.f_0.play();
}
if (((box_pse_b[1] && (box_pse_b[4])) && (box_pse_b[7])) && (m_b == 1)) {
decors.m_b.f_1.play();
}
if (((box_pse_b[2] && (box_pse_b[5])) && (box_pse_b[8])) && (m_b == 2)) {
decors.m_b.f_2.play();
}
if (((((((((box_pse_b[0] >= objet.box[0]) && (box_pse_b[1] >= objet.box[1])) && (box_pse_b[2] >= objet.box[2])) && (box_pse_b[3] >= objet.box[3])) && (box_pse_b[4] >= objet.box[4])) && (box_pse_b[5] >= objet.box[5])) && (box_pse_b[6] >= objet.box[6])) && (box_pse_b[7] >= objet.box[7])) && (box_pse_b[8] >= objet.box[8])) {
var tmp = 0;
var j = 0;
while (j < 9) {
_root.score_grid["s_" + j].gotoAndStop(1);
if (box_pse_b[j] && (objet.box[j])) {
tmp++;
_root.score_grid["s_" + j].gotoAndStop(2);
}
if (box_pse_b[j] != objet.box[j]) {
tmp = tmp - 4;
_root.score_grid["s_" + j].gotoAndStop(3);
}
if (tmp < 1) {
tmp = 1;
}
score = score + (2 * tmp);
j++;
}
s_pack.start();
score_grid._alpha = 100;
speed = speed_0 - Math.floor(score / 100);
speed = Math.max(2, speed);
timer = timer_0 - Math.floor(score / 20);
objet.nx = 451;
objet.go = 3;
objet.gotoAndStop(objet.n + 100);
var j = 0;
while (j < 9) {
box_pse_b[j] = 0;
j++;
}
}
break;
case 3 :
objet._x = objet._x + objet.acc;
objet.acc = objet.acc + 0.4;
if (objet._x <= objet.nx) {
break;
}
objet.go = 0;
objet._x = -159;
objet.acc = 0;
}
i = 15;
while (i > -1) {
if (box_pse_gt[i] > 0) {
box_pse_gt[i]--;
}
if (box_pse_dt[i] > 0) {
box_pse_dt[i]--;
}
switch (i) {
case 2 :
case 8 :
if (((box_pse_g[i] && (box_pse_g[i + 1])) && (box_pse_g[i + 2])) && (box_pse_g[i + 3])) {
switch (i) {
case 2 :
decors.m_g_1.warning.play();
break;
case 8 :
decors.m_g_2.warning.play();
}
}
if (((box_pse_d[i] && (box_pse_d[i + 1])) && (box_pse_d[i + 2])) && (box_pse_d[i + 3])) {
switch (i) {
case 2 :
decors.m_d_1.warning.play();
break;
case 8 :
decors.m_d_2.warning.play();
}
}
case 3 :
case 4 :
case 9 :
case 10 :
if ((box_pse_g[i] && (!box_pse_g[i + 1])) && (!box_pse_gt[i])) {
box_pse_g[i + 1] = box_pse_g[i];
box_pse_g[i] = 0;
box_pse_gt[i] = 0;
box_pse_gt[i + 1] = speed;
}
if ((box_pse_d[i] && (!box_pse_d[i + 1])) && (!box_pse_dt[i])) {
box_pse_d[i + 1] = box_pse_d[i];
box_pse_d[i] = 0;
box_pse_dt[i] = 0;
box_pse_dt[i + 1] = speed;
}
break;
case 5 :
if ((m_g_1 && (box_pse_g[i])) && (!box_pse_g[i + 1])) {
box_pse_g[i + 1] = box_pse_g[i];
box_pse_g[i] = 0;
box_pse_gt[i] = 0;
box_pse_gt[i + 1] = speed;
score++;
}
m_g_1 = false;
if ((m_d_1 && (box_pse_d[i])) && (!box_pse_d[i + 1])) {
box_pse_d[i + 1] = box_pse_d[i];
box_pse_d[i] = 0;
box_pse_dt[i] = 0;
box_pse_dt[i + 1] = speed;
score++;
}
m_d_1 = false;
break;
case 11 :
if ((m_g_2 && (box_pse_g[i])) && (!box_pse_g[i + 1])) {
box_pse_g[i + 1] = box_pse_g[i];
box_pse_g[i] = 0;
box_pse_gt[i] = 0;
box_pse_gt[i + 1] = speed;
score = score + 2;
}
m_g_2 = false;
if ((m_d_2 && (box_pse_d[i])) && (!box_pse_d[i + 1])) {
box_pse_d[i + 1] = box_pse_d[i];
box_pse_d[i] = 0;
box_pse_dt[i] = 0;
box_pse_dt[i + 1] = speed;
score = score + 2;
}
m_d_2 = false;
break;
case 1 :
case 7 :
if ((box_pse_g[i] && (box_pse_g[i + 1])) && (!box_pse_gt[i])) {
switch (i) {
case 1 :
pse.g_1._visible = false;
death = 1;
break;
case 7 :
pse.g_7._visible = false;
death = 3;
}
gotoAndStop("perdu");
}
if ((box_pse_d[i] && (box_pse_d[i + 1])) && (!box_pse_dt[i])) {
switch (i) {
case 1 :
pse.d_1._visible = false;
death = 2;
break;
case 7 :
pse.d_7._visible = false;
death = 4;
}
gotoAndStop("perdu");
}
default :
if ((!box_pse_g[i + 1]) && (!box_pse_gt[i])) {
box_pse_g[i + 1] = box_pse_g[i];
box_pse_g[i] = 0;
box_pse_gt[i] = 0;
box_pse_gt[i + 1] = speed;
}
if ((!box_pse_d[i + 1]) && (!box_pse_dt[i])) {
box_pse_d[i + 1] = box_pse_d[i];
box_pse_d[i] = 0;
box_pse_dt[i] = 0;
box_pse_dt[i + 1] = speed;
}
break;
case 15 :
if (box_pse_g[i] || (box_pse_d[i])) {
decors.m_b.warning.play();
}
if (!box_pse_gt[i]) {
if (box_pse_g[i] && (!box_pse_b[m_b])) {
box_pse_g[i] = 0;
box_pse_b[m_b] = 1;
box_pse_gt[i] = 0;
box_pse_bt[m_b] = speed;
} else if (((box_pse_g[i] && (box_pse_b[m_b])) && (box_pse_b[m_b + 3])) && (box_pse_b[m_b + 6])) {
switch (m_b) {
case 0 :
death = 5;
break;
case 1 :
death = 6;
break;
case 2 :
death = 7;
}
gotoAndStop("perdu");
}
}
if (box_pse_dt[i]) {
break;
}
if (box_pse_d[i] && (!box_pse_b[m_b])) {
box_pse_d[i] = 0;
box_pse_b[m_b] = 1;
box_pse_dt[i] = 0;
box_pse_bt[m_b] = speed;
} else {
if (!(((box_pse_d[i] && (box_pse_b[m_b])) && (box_pse_b[m_b + 3])) && (box_pse_b[m_b + 6]))) {
break;
}
switch (m_b) {
case 0 :
death = 5;
break;
case 1 :
death = 6;
break;
case 2 :
death = 7;
}
gotoAndStop("perdu");
}
}
i--;
}
i = 8;
while (i > -1) {
if (!(box_pse_bt[i] === 0)) {
box_pse_bt[i]--;
} else if (box_pse_b[i] && (box_pse_b[i + 3] == 0)) {
box_pse_b[i + 3] = box_pse_b[i];
box_pse_b[i] = 0;
box_pse_bt[i + 3] = speed;
}
i--;
}
var newpse = random(timer);
switch (car_g.go) {
case 0 :
if (!newpse) {
car_g.go = 1;
car_g.nx = 50;
car_g.tuyau.gotoAndPlay(1);
}
break;
case 1 :
car_g._x = car_g._x + ((car_g.nx - car_g._x) * 0.15);
if (Math.round(car_g._x) == car_g.nx) {
car_g.go = 2;
car_g.nx = 160;
box_pse_g[0] = 1;
box_pse_gt[0] = speed;
}
break;
default :
car_g.go++;
if (car_g.go >= speed) {
car_g.go = speed;
}
break;
case speed :
car_g.tuyau.gotoAndPlay(30);
car_g.go = 1000;
break;
case 1000 :
car_g._x = car_g._x + car_g.acc;
car_g.acc = car_g.acc + 0.4;
if (car_g._x <= car_g.nx) {
break;
}
car_g.go = 0;
car_g._x = -92;
car_g.acc = 0;
}
var newpse = random(timer);
switch (car_d.go) {
case 0 :
if (!newpse) {
car_d.go = 1;
car_d.nx = 310;
car_d.bene.gotoAndPlay(1);
car_d.bene.couv.gotoAndPlay(1);
}
break;
case 1 :
car_d._x = car_d._x + ((car_d.nx - car_d._x) * 0.15);
if (Math.round(car_d._x) == car_d.nx) {
car_d.go = 2;
car_d.nx = 210;
box_pse_d[0] = 1;
box_pse_dt[0] = speed;
}
break;
default :
car_d.go++;
if (car_d.go >= speed) {
car_d.go = speed;
}
break;
case speed :
car_d.bene.gotoAndPlay(30);
car_d.bene.couv.gotoAndPlay(30);
car_d.go = 1000;
break;
case 1000 :
car_d._x = car_d._x - car_d.acc;
car_d.acc = car_d.acc + 0.4;
if (car_d._x >= car_d.nx) {
break;
}
car_d.go = 0;
car_d._x = 460;
car_d.acc = 0;
}
PSE_screen();
HERO_screen();
}
}
Frame 4
stop();
Mouse.show();
Key.removeListener(clavier);
if (score > bestscore) {
bestscore = score;
}
s_explode.start();
Instance of Symbol 158 MovieClip in Frame 4
onClipEvent (enterFrame) {
with (_root) {
switch (death) {
case 1 :
explode(22, 155, 2);
break;
case 2 :
explode(422, 155, 3);
break;
case 3 :
explode(22, 255, 1);
break;
case 4 :
explode(422, 255, 1);
break;
case 5 :
explode(175, 300, 1);
break;
case 6 :
explode(225, 300, 1);
break;
case 7 :
explode(275, 300, 1);
}
}
}
Frame 5
stop();
scoretable.filename = "score.sco";
scoretable.scoresize = 10;
scoretable.action = "INSERT";
scoretable.viewtype = "FLASH";
scoretable.winname = name;
scoretable.winscore = bestscore;
System.security.allowDomain("http://atien.free.fr");
scoretable.loadVariables("http://atien.free.fr/jeux/pse/scores.php", "GET");
Symbol 20 MovieClip Frame 1
switch (_root.pti) {
case 200 :
speed = 0;
break;
default :
x = _x;
y = _y;
angle = (-2 * Math.random()) - 0.5;
speed = (2 * Math.random()) + 2;
life = random(21) + 30;
t = 0;
g = 0.1;
}
Symbol 20 MovieClip Frame 2
switch (speed) {
case 0 :
stop();
removeMovieClip(this);
break;
default :
t = t + 0.5;
_x = (((speed * Math.cos(angle)) * t) + x);
_y = ((((speed * Math.sin(angle)) * t) + ((g * t) * t)) + y);
if (angle >= -1.5707963267949) {
_rotation = (((Math.atan((speed * Math.sin(angle)) + ((2 * g) * t)) * 180) / Math.PI) + 90);
} else {
_rotation = ((((-Math.atan((speed * Math.sin(angle)) + ((2 * g) * t))) * 180) / Math.PI) - 90);
}
life--;
_alpha = (life * 4);
if (life) {
break;
}
removeMovieClip(this);
}
Symbol 20 MovieClip Frame 3
gotoAndPlay (2);
Symbol 24 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 1
stop();
Instance of Symbol 24 MovieClip "atien" in Symbol 39 MovieClip Frame 1
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
play();
}
on (release) {
getURL ("http://www.atien.net", "_blank");
play();
}
Instance of Symbol 37 MovieClip in Symbol 39 MovieClip Frame 1
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
play();
}
on (release) {
getURL ("http://lula.graphisme.free.fr/", "_blank");
play();
}
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 3
_root.s_warning.start();
Symbol 59 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 2
_root.s_moule.start();
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 3
_root.s_alarm.start();
Symbol 66 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 20
gotoAndPlay (1);
Symbol 72 Button
on (rollOver) {
_root.s_rollover.start();
}
on (release) {
_root.s_clic.start();
_root.gotoAndPlay("play");
}
Symbol 77 MovieClip Frame 1
stop();
box = new Array(0, 0, 0, 0, 0, 0, 1, 0, 0);
Symbol 77 MovieClip Frame 2
box = new Array(0, 0, 0, 0, 0, 0, 0, 1, 0);
Symbol 77 MovieClip Frame 3
box = new Array(0, 0, 0, 0, 0, 0, 0, 0, 1);
Symbol 77 MovieClip Frame 4
box = new Array(0, 0, 0, 0, 0, 0, 1, 1, 0);
Symbol 77 MovieClip Frame 5
box = new Array(0, 0, 0, 0, 0, 0, 0, 1, 1);
Symbol 77 MovieClip Frame 6
box = new Array(0, 0, 0, 1, 0, 0, 1, 0, 0);
Symbol 77 MovieClip Frame 7
box = new Array(0, 0, 0, 0, 1, 0, 0, 1, 0);
Symbol 77 MovieClip Frame 8
box = new Array(0, 0, 0, 0, 0, 1, 0, 0, 1);
Symbol 77 MovieClip Frame 9
box = new Array(0, 0, 0, 0, 0, 0, 1, 1, 1);
Symbol 77 MovieClip Frame 10
box = new Array(1, 0, 0, 1, 0, 0, 1, 0, 0);
Symbol 77 MovieClip Frame 11
box = new Array(0, 1, 0, 0, 1, 0, 0, 1, 0);
Symbol 77 MovieClip Frame 12
box = new Array(0, 0, 1, 0, 0, 1, 0, 0, 1);
Symbol 77 MovieClip Frame 13
box = new Array(0, 0, 0, 1, 0, 0, 1, 1, 0);
Symbol 77 MovieClip Frame 14
box = new Array(0, 0, 0, 0, 1, 0, 0, 1, 1);
Symbol 77 MovieClip Frame 15
box = new Array(0, 0, 0, 0, 1, 0, 1, 1, 0);
Symbol 77 MovieClip Frame 16
box = new Array(0, 0, 0, 0, 0, 1, 0, 1, 1);
Symbol 77 MovieClip Frame 17
box = new Array(0, 0, 0, 1, 1, 0, 1, 1, 0);
Symbol 77 MovieClip Frame 18
box = new Array(0, 0, 0, 0, 1, 1, 0, 1, 1);
Symbol 77 MovieClip Frame 19
box = new Array(0, 0, 0, 1, 0, 0, 1, 1, 1);
Symbol 77 MovieClip Frame 20
box = new Array(0, 0, 0, 0, 1, 0, 1, 1, 1);
Symbol 77 MovieClip Frame 21
box = new Array(0, 0, 0, 0, 0, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 22
box = new Array(1, 0, 0, 1, 0, 0, 1, 1, 0);
Symbol 77 MovieClip Frame 23
box = new Array(0, 1, 0, 0, 1, 0, 0, 1, 1);
Symbol 77 MovieClip Frame 24
box = new Array(0, 1, 0, 0, 1, 0, 1, 1, 0);
Symbol 77 MovieClip Frame 25
box = new Array(0, 0, 1, 0, 0, 1, 0, 1, 1);
Symbol 77 MovieClip Frame 26
box = new Array(0, 0, 0, 1, 1, 0, 1, 1, 1);
Symbol 77 MovieClip Frame 27
box = new Array(0, 0, 0, 1, 0, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 28
box = new Array(0, 0, 0, 0, 1, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 29
box = new Array(1, 0, 0, 1, 1, 0, 1, 1, 0);
Symbol 77 MovieClip Frame 30
box = new Array(0, 1, 0, 0, 1, 1, 0, 1, 1);
Symbol 77 MovieClip Frame 31
box = new Array(0, 1, 0, 1, 1, 0, 1, 1, 0);
Symbol 77 MovieClip Frame 32
box = new Array(0, 0, 1, 0, 1, 1, 0, 1, 1);
Symbol 77 MovieClip Frame 33
box = new Array(1, 0, 0, 1, 0, 0, 1, 1, 1);
Symbol 77 MovieClip Frame 34
box = new Array(0, 1, 0, 0, 1, 0, 1, 1, 1);
Symbol 77 MovieClip Frame 35
box = new Array(0, 0, 1, 0, 0, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 36
box = new Array(0, 0, 0, 1, 1, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 37
box = new Array(1, 1, 0, 1, 1, 0, 1, 1, 0);
Symbol 77 MovieClip Frame 38
box = new Array(0, 1, 1, 0, 1, 1, 0, 1, 1);
Symbol 77 MovieClip Frame 39
box = new Array(1, 0, 0, 1, 1, 0, 1, 1, 1);
Symbol 77 MovieClip Frame 40
box = new Array(0, 0, 1, 0, 1, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 41
box = new Array(1, 0, 0, 1, 0, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 42
box = new Array(0, 0, 1, 1, 0, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 43
box = new Array(0, 1, 0, 1, 1, 0, 1, 1, 1);
Symbol 77 MovieClip Frame 44
box = new Array(0, 1, 0, 0, 1, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 45
box = new Array(1, 0, 0, 1, 1, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 46
box = new Array(0, 1, 0, 1, 1, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 47
box = new Array(0, 0, 1, 1, 1, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 48
box = new Array(1, 1, 0, 1, 1, 0, 1, 1, 1);
Symbol 77 MovieClip Frame 49
box = new Array(1, 0, 1, 1, 0, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 50
box = new Array(0, 1, 1, 0, 1, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 51
box = new Array(1, 1, 0, 1, 1, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 52
box = new Array(1, 0, 1, 1, 1, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 53
box = new Array(0, 1, 1, 1, 1, 1, 1, 1, 1);
Symbol 77 MovieClip Frame 54
box = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1);
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 30
stop();
_root.s_oil.start();
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 30
stop();
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 15
_root.s_recycled.start();
Symbol 117 MovieClip Frame 30
stop();
Symbol 140 MovieClip Frame 20
gotoAndPlay (1);
Symbol 153 MovieClip Frame 85
objet.gotoAndStop(44);
_root.s_tapis.start();
Symbol 153 MovieClip Frame 109
objet.gotoAndStop(44);
Symbol 153 MovieClip Frame 229
car_g.tuyau.gotoAndPlay(1);
Symbol 153 MovieClip Frame 259
car_g.tuyau.gotoAndPlay(30);
Symbol 153 MovieClip Frame 289
decors.m_g_1.play();
_root.s_manette.start();
Symbol 153 MovieClip Frame 325
decors.m_g_2.play();
_root.s_manette.start();
Symbol 153 MovieClip Frame 349
decors.m_b.gotoAndStop(1);
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 352
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 355
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 390
car_d.bene.gotoAndPlay(1);
car_d.bene.couv.gotoAndPlay(1);
Symbol 153 MovieClip Frame 420
car_d.bene.gotoAndPlay(30);
car_d.bene.couv.gotoAndPlay(30);
Symbol 153 MovieClip Frame 450
decors.m_d_1.play();
_root.s_manette.start();
Symbol 153 MovieClip Frame 486
decors.m_d_2.play();
_root.s_manette.start();
Symbol 153 MovieClip Frame 510
decors.m_b.gotoAndStop(2);
_root.s_fleche.start();
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 513
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 516
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 710
hero.gotoAndPlay(21);
decors.m_b.gotoAndStop(3);
_root.s_fleche.start();
Symbol 153 MovieClip Frame 740
hero.gotoAndPlay(21);
decors.m_b.gotoAndStop(2);
_root.s_fleche.start();
Symbol 153 MovieClip Frame 771
hero.gotoAndPlay(21);
decors.m_b.gotoAndStop(3);
_root.s_fleche.start();
Symbol 153 MovieClip Frame 783
car_d.bene.gotoAndPlay(1);
car_d.bene.couv.gotoAndPlay(1);
Symbol 153 MovieClip Frame 824
car_d.bene.gotoAndPlay(30);
car_d.bene.couv.gotoAndPlay(30);
Symbol 153 MovieClip Frame 842
decors.m_d_1.play();
_root.s_manette.start();
Symbol 153 MovieClip Frame 854
decors.m_d_1.play();
_root.s_manette.start();
Symbol 153 MovieClip Frame 910
hero.gotoAndPlay(21);
decors.m_d_2.play();
_root.s_manette.start();
Symbol 153 MovieClip Frame 928
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 931
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 934
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 988
car_d.bene.gotoAndPlay(1);
car_d.bene.couv.gotoAndPlay(1);
Symbol 153 MovieClip Frame 1042
car_d.bene.gotoAndPlay(1);
car_d.bene.couv.gotoAndPlay(1);
Symbol 153 MovieClip Frame 1048
decors.m_d_1.play();
_root.s_manette.start();
Symbol 153 MovieClip Frame 1060
decors.m_d_1.play();
_root.s_manette.start();
Symbol 153 MovieClip Frame 1072
decors.m_d_1.play();
_root.s_manette.start();
Symbol 153 MovieClip Frame 1090
decors.m_d_2.warning.play();
Symbol 153 MovieClip Frame 1093
decors.m_d_2.warning.play();
Symbol 153 MovieClip Frame 1096
decors.m_d_2.warning.play();
Symbol 153 MovieClip Frame 1099
decors.m_d_2.warning.play();
Symbol 153 MovieClip Frame 1102
decors.m_d_2.warning.play();
Symbol 153 MovieClip Frame 1105
decors.m_d_2.warning.play();
Symbol 153 MovieClip Frame 1108
decors.m_d_2.warning.play();
Symbol 153 MovieClip Frame 1111
decors.m_d_2.warning.play();
Symbol 153 MovieClip Frame 1114
decors.m_d_2.warning.play();
Symbol 153 MovieClip Frame 1117
decors.m_d_2.warning.play();
Symbol 153 MovieClip Frame 1120
decors.m_d_2.warning.play();
Symbol 153 MovieClip Frame 1123
decors.m_d_2.warning.play();
Symbol 153 MovieClip Frame 1126
decors.m_d_2.warning.play();
Symbol 153 MovieClip Frame 1129
decors.m_d_2.warning.play();
Symbol 153 MovieClip Frame 1132
decors.m_d_2.warning.play();
Symbol 153 MovieClip Frame 1135
hero.gotoAndPlay(21);
decors.m_d_2.play();
_root.s_manette.start();
Symbol 153 MovieClip Frame 1150
hero.gotoAndPlay(21);
decors.m_d_2.play();
_root.s_manette.start();
Symbol 153 MovieClip Frame 1156
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 1159
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 1162
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 1174
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 1177
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 1180
decors.m_b.f_2.play();
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 1183
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1186
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1189
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1192
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1195
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1198
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1201
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1204
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1207
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1210
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1213
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1216
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1219
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1222
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1225
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1228
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1231
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1234
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1237
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1240
decors.m_b.f_2.play();
Symbol 153 MovieClip Frame 1244
hero.gotoAndPlay(21);
decors.m_b.gotoAndStop(2);
_root.s_fleche.start();
Symbol 153 MovieClip Frame 1294
hero.gotoAndPlay(21);
decors.m_d_2.play();
_root.s_manette.start();
Symbol 153 MovieClip Frame 1310
hero.gotoAndPlay(21);
decors.m_d_2.play();
_root.s_manette.start();
Symbol 153 MovieClip Frame 1316
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 1319
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 1322
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 1334
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 1337
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 1340
decors.m_b.warning.play();
Symbol 153 MovieClip Frame 1357
objet.gotoAndStop(144);
_root.s_pack.start();
Symbol 160 MovieClip Frame 1
stop();
Symbol 164 Button
on (rollOver) {
_root.s_rollover.start();
}
on (release) {
_root.s_clic.start();
_root.gotoAndStop("titre");
}
Symbol 170 Button
on (rollOver) {
_root.s_rollover.start();
}
on (release) {
if ((_root.name && (_root.name != "votre nom")) && (_root.bestscore)) {
_root.s_clic.start();
_root.gotoAndStop("online");
}
}
Symbol 192 MovieClip Frame 1
switch (_root.pti) {
case 200 :
speed = 0;
break;
default :
x = _x;
y = _y;
angle = (-2 * Math.random()) - 0.5;
speed = (2 * Math.random()) + 2;
life = random(21) + 30;
t = 0;
g = 0.1;
}
Symbol 192 MovieClip Frame 2
switch (speed) {
case 0 :
stop();
removeMovieClip(this);
break;
default :
t = t + 0.5;
_x = (((speed * Math.cos(angle)) * t) + x);
_y = ((((speed * Math.sin(angle)) * t) + ((g * t) * t)) + y);
if (angle >= -1.5707963267949) {
_rotation = (((Math.atan((speed * Math.sin(angle)) + ((2 * g) * t)) * 180) / Math.PI) + 90);
} else {
_rotation = ((((-Math.atan((speed * Math.sin(angle)) + ((2 * g) * t))) * 180) / Math.PI) - 90);
}
life--;
_alpha = (life * 4);
if (life) {
break;
}
removeMovieClip(this);
}
Symbol 192 MovieClip Frame 3
gotoAndPlay (2);
Symbol 194 MovieClip Frame 1
switch (_root.pti) {
case 200 :
speed = 0;
break;
default :
x = _x;
y = _y;
angle = (-2 * Math.random()) - 0.5;
speed = (2 * Math.random()) + 2;
life = random(21) + 30;
t = 0;
g = 0.1;
}
Symbol 194 MovieClip Frame 2
switch (speed) {
case 0 :
stop();
removeMovieClip(this);
break;
default :
t = t + 0.5;
_x = (((speed * Math.cos(angle)) * t) + x);
_y = ((((speed * Math.sin(angle)) * t) + ((g * t) * t)) + y);
if (angle >= -1.5707963267949) {
_rotation = (((Math.atan((speed * Math.sin(angle)) + ((2 * g) * t)) * 180) / Math.PI) + 90);
} else {
_rotation = ((((-Math.atan((speed * Math.sin(angle)) + ((2 * g) * t))) * 180) / Math.PI) - 90);
}
life--;
_alpha = (life * 4);
if (life) {
break;
}
removeMovieClip(this);
}
Symbol 194 MovieClip Frame 3
gotoAndPlay (2);