Frame 1
stop();
lang = "en";
Instance of Symbol 170 MovieClip "Lbar" in Frame 1
onClipEvent (enterFrame) {
_level0.temoin = ("Chargement en cours... " + Math.round((_level0.getBytesLoaded() / _level0.getBytesTotal()) * 100)) + "%";
_level0.K = Math.round(_level0.getBytesLoaded() / 1000) + " K";
setProperty(this, _xscale , Number((_level0.getBytesLoaded() / _level0.getBytesTotal()) * 100));
if (Number(_level0.getBytesLoaded()) >= Number(_level0.getBytesTotal())) {
tellTarget ("_level0") {
_root.gotoAndPlay(3);
};
}
}
Frame 3
stop();
Frame 15
stop();
Frame 20
stop();
totalfant1 = 0;
totalfant2 = 0;
totalfant3 = 0;
totalfraise = 0;
totalraisin = 0;
totalbanane = 0;
totalcerise = 0;
Frame 21
newgame = new Sound();
newgame.attachSound("newgame");
newgame.start();
play();
Frame 129
stop();
_root.attachMovie("musique", "musique", 100000);
this.createEmptyMovieClip("mc1", 100002);
eatghost = new Sound(mc1);
eatghost.attachSound("eatghost");
barreverif = 0;
totalboules = 1;
vitesse = 2;
totalghost = 0;
tuefantome = 0;
mangefantome = 0;
score = 0;
fantomeai = 0;
game = false;
_root.attachMovie("expliquepacos", "expliquepacos", 5, {_x:179, _y:255});
Instance of Symbol 228 MovieClip "pacman" in Frame 129
on (press) {
_root.expliquepacos.removeMovieClip();
if (_root.game == false) {
startDrag (this);
_root.game = true;
_root.attachMovie("boule", "boule" + totalboules, totalboules + 1000);
totalboules = totalboules + 1;
}
}
Symbol 8 MovieClip [GhKill] Frame 1
stop();
Symbol 8 MovieClip [GhKill] Frame 2
tellTarget (_root) {
playing = false;
Pacman._visible = false;
};
play();
Symbol 8 MovieClip [GhKill] Frame 12
tellTarget (_root) {
playing = true;
Pacman._visible = true;
gotoAndPlay ("Loop");
};
Symbol 8 MovieClip [GhKill] Frame 41
Scr.kval = "";
tellTarget (_parent) {
if (fval) {
gotoAndStop (1);
}
};
Symbol 17 MovieClip Frame 3
Xpos = _xmouse;
Ypos = _ymouse;
circle2Xpos = circle2._x;
circle2Ypos = circle2._y;
x = Xpos - circle2Xpos;
y = Ypos - circle2Ypos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle2._rotation;
if (Xpos < circle2Xpos) {
circle2._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circle2Xpos) {
circle2._rotation = theta / 0.0175;
}
Mouse.show();
Xpos = _xmouse;
Ypos = _ymouse;
circleXpos = circle._x;
circleYpos = circle._y;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle._rotation;
if (Xpos < circleXpos) {
circle._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circleXpos) {
circle._rotation = theta / 0.0175;
}
Symbol 24 MovieClip Frame 3
Xpos = _xmouse;
Ypos = _ymouse;
circle2Xpos = circle2._x;
circle2Ypos = circle2._y;
x = Xpos - circle2Xpos;
y = Ypos - circle2Ypos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle2._rotation;
if (Xpos < circle2Xpos) {
circle2._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circle2Xpos) {
circle2._rotation = theta / 0.0175;
}
Mouse.show();
Xpos = _xmouse;
Ypos = _ymouse;
circleXpos = circle._x;
circleYpos = circle._y;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle._rotation;
if (Xpos < circleXpos) {
circle._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circleXpos) {
circle._rotation = theta / 0.0175;
}
Symbol 26 MovieClip Frame 1
stop();
Symbol 31 MovieClip [fantomeai] Frame 1
existence = 0;
tueur = 0;
peur = 0;
mort = 0;
interval = 0;
this.onEnterFrame = function () {
existence = existence + 1;
if ((_root.mangefantome == 1) && (peur == 0)) {
peur = 1;
tueur = 0;
gotoAndPlay (36);
}
if (_root.tuefantome == 1) {
this.removeMovieClip();
}
if (_root.game == true) {
interval = interval + 1;
if (interval >= 10) {
sens = random(4) + 1;
interval = 0;
}
}
if (this._x < _root.pacman._x) {
this._x = this._x + _root.vitesse;
}
if (this._x > _root.pacman._x) {
this._x = this._x - _root.vitesse;
}
if ((this._y < _root.pacman._y) && (existence > 100)) {
this._y = this._y + _root.vitesse;
}
if ((this._y > _root.pacman._y) && (existence > 100)) {
this._y = this._y - _root.vitesse;
}
if ((_root.grenade.hitTest(this._x, this._y, true) && (mort == 0)) && (_root.grenade.active == 1)) {
mort = 1;
tueur = 0;
_root.eatghost.stop();
_root.eatghost.start();
_root.score = _root.score + 100;
gotoAndPlay ("mort");
}
if (((this.hitTest(_root.pacman.testeur) && (tueur == 1)) && (_root.mangefantome == 0)) && (_root.game == true)) {
_root.game = false;
_root.pacman.stopDrag();
_root.attachMovie("fin", "fin", 1000000, {_x:200, _y:160});
}
if ((this.hitTest(_root.pacman.testeur) && (mort == 0)) && (_root.mangefantome == 1)) {
mort = 1;
_root.eatghost.stop();
_root.eatghost.start();
_root.score = _root.score + 100;
_root.totalfant3 = _root.totalfant3 + 1;
gotoAndPlay ("mort");
}
};
Symbol 31 MovieClip [fantomeai] Frame 35
stop();
peur = 0;
tueur = 1;
Symbol 31 MovieClip [fantomeai] Frame 168
tueur = 0;
gotoAndPlay (5);
Symbol 31 MovieClip [fantomeai] Frame 174
stop();
this.removeMovieClip();
Symbol 33 MovieClip Frame 3
Xpos = _xmouse;
Ypos = _ymouse;
circle2Xpos = circle2._x;
circle2Ypos = circle2._y;
x = Xpos - circle2Xpos;
y = Ypos - circle2Ypos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle2._rotation;
if (Xpos < circle2Xpos) {
circle2._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circle2Xpos) {
circle2._rotation = theta / 0.0175;
}
Mouse.show();
Xpos = _xmouse;
Ypos = _ymouse;
circleXpos = circle._x;
circleYpos = circle._y;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle._rotation;
if (Xpos < circleXpos) {
circle._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circleXpos) {
circle._rotation = theta / 0.0175;
}
Symbol 39 MovieClip [fantome2] Frame 1
this._x = random(460) + 20;
this._y = random(310) + 20;
tueur = 0;
mort = 0;
peur = 0;
gauche = 1;
droite = 2;
haut = 3;
bas = 4;
gauchehaut = 5;
gauchebas = 6;
droithaut = 7;
droitbas = 8;
interval = 0;
sens = random(8) + 1;
this.onEnterFrame = function () {
if ((_root.mangefantome == 1) && (peur == 0)) {
peur = 1;
tueur = 0;
gotoAndPlay (36);
}
if (_root.tuefantome == 1) {
this.removeMovieClip();
}
if (_root.game == true) {
interval = interval + 1;
if (interval >= 10) {
sens = random(8) + 1;
interval = 0;
}
switch (sens) {
case 1 :
if (this._x > 10) {
this._x = this._x - _root.vitesse;
}
break;
case 2 :
if (this._x < 340) {
this._x = this._x + _root.vitesse;
}
break;
case 3 :
if (this._y > 10) {
this._y = this._y - _root.vitesse;
}
break;
case 4 :
if (this._y < 340) {
this._y = this._y + _root.vitesse;
}
break;
case 5 :
if (this._y > 10) {
this._y = this._y - _root.vitesse;
}
if (this._x > 10) {
this._x = this._x - _root.vitesse;
}
break;
case 6 :
if (this._y < 340) {
this._y = this._y + _root.vitesse;
}
if (this._x > 10) {
this._x = this._x - _root.vitesse;
}
break;
case 7 :
if (this._y > 10) {
this._y = this._y - _root.vitesse;
}
if (this._x < 340) {
this._x = this._x + _root.vitesse;
}
break;
case 8 :
if (this._y < 340) {
this._y = this._y + _root.vitesse;
}
if (this._x >= 340) {
break;
}
this._x = this._x + _root.vitesse;
}
}
if ((_root.grenade.hitTest(this._x, this._y, true) && (mort == 0)) && (_root.grenade.active == 1)) {
mort = 1;
tueur = 0;
_root.eatghost.stop();
_root.eatghost.start();
_root.score = _root.score + 50;
gotoAndPlay ("mort");
}
if ((this.hitTest(_root.pacman.testeur) && (_root.mangefantome == 0)) && (_root.game == true)) {
_root.game = false;
_root.pacman.stopDrag();
_root.attachMovie("fin", "fin", 1000000, {_x:200, _y:160});
}
if ((this.hitTest(_root.pacman.testeur) && (_root.mangefantome == 1)) && (mort == 0)) {
mort = 1;
_root.eatghost.stop();
_root.eatghost.start();
_root.score = _root.score + 50;
_root.totalfant2 = _root.totalfant2 + 1;
gotoAndPlay ("mort");
}
};
Symbol 39 MovieClip [fantome2] Frame 35
stop();
peur = 0;
tueur = 1;
Symbol 39 MovieClip [fantome2] Frame 168
tueur = 0;
gotoAndPlay (5);
Symbol 39 MovieClip [fantome2] Frame 174
stop();
this.removeMovieClip();
Symbol 44 MovieClip [fantome1] Frame 1
this._x = random(460) + 20;
this._y = random(310) + 20;
tueur = 0;
mort = 0;
peur = 0;
gauche = 1;
droite = 2;
haut = 3;
bas = 4;
interval = 0;
sens = random(4) + 1;
this.onEnterFrame = function () {
if ((_root.mangefantome == 1) && (peur == 0)) {
peur = 1;
tueur = 0;
gotoAndPlay (36);
}
if (_root.tuefantome == 1) {
this.removeMovieClip();
}
if (_root.game == true) {
interval = interval + 1;
if (interval >= 10) {
sens = random(4) + 1;
interval = 0;
}
switch (sens) {
case 1 :
if (this._x > 10) {
this._x = this._x - _root.vitesse;
}
break;
case 2 :
if (this._x < 340) {
this._x = this._x + _root.vitesse;
}
break;
case 3 :
if (this._y > 10) {
this._y = this._y - _root.vitesse;
}
break;
case 4 :
if (this._y >= 340) {
break;
}
this._y = this._y + _root.vitesse;
}
}
if ((_root.grenade.hitTest(this._x, this._y, true) && (mort == 0)) && (_root.grenade.active == 1)) {
mort = 1;
tueur = 0;
_root.eatghost.stop();
_root.eatghost.start();
_root.score = _root.score + 10;
gotoAndPlay ("mort");
}
if (((this.hitTest(_root.pacman.testeur) && (tueur == 1)) && (_root.mangefantome == 0)) && (_root.game == true)) {
_root.game = false;
_root.pacman.stopDrag();
_root.attachMovie("fin", "fin", 1000000, {_x:200, _y:160});
}
if ((this.hitTest(_root.pacman.testeur) && (_root.mangefantome == 1)) && (mort == 0)) {
mort = 1;
_root.eatghost.stop();
_root.eatghost.start();
_root.score = _root.score + 10;
_root.totalfant1 = _root.totalfant1 + 1;
gotoAndPlay ("mort");
}
};
Symbol 44 MovieClip [fantome1] Frame 35
stop();
peur = 0;
tueur = 1;
Symbol 44 MovieClip [fantome1] Frame 168
tueur = 0;
gotoAndPlay (5);
Symbol 44 MovieClip [fantome1] Frame 174
stop();
this.removeMovieClip();
Symbol 52 MovieClip [boule] Frame 11
stop();
manger = new Sound();
manger.attachSound("manger");
rouge = 0;
this._x = random(400) + 30;
this._y = random(300) + 20;
pt = 100;
this.onEnterFrame = function () {
if (_root.game == false) {
this.removeMovieClip();
}
if ((pt == 1) && (rouge == 0)) {
rouge = 1;
play();
}
if (pt > 0) {
pt = pt - 1;
}
if (_root.pacman.hitTest(this.test) && (_root.mangefantome == 0)) {
_root.score = _root.score + pt;
manger.start();
_root.pacman.anim.gotoAndPlay(2);
_root.totalboules = _root.totalboules + 1;
bouboules = new Array();
bouboules = [15, 40, 60, 75, 90, 105, 115, 125, 135, 140, 145, 150];
var _local3 = bouboules.length;
i = 0;
while (i < _local3) {
if (_root.totalboules == bouboules[i]) {
_root.porte.play();
}
i++;
}
grenades = new Array();
grenades = [22, 47, 63, 80, 102, 120, 135, 150, 165, 190, 215, 225, 265];
_local3 = grenades.length;
i = 0;
while (i < _local3) {
if (_root.totalboules == grenades[i]) {
_root.attachMovie("grenade", "grenade", 3452);
}
i++;
}
_root.attachMovie("boule", "boule" + _root.totalboules, _root.totalboules + 1000);
_root.totalghost = _root.totalghost + 1;
_root.attachMovie("fantome1", "fantome" + _root.totalghost, _root.totalghost + 50000);
this.removeMovieClip();
}
if (this.test.hitTest(_root.pacman) && (_root.mangefantome == 1)) {
_root.score = _root.score + pt;
manger.start();
_root.pacman.anim.gotoAndPlay(2);
_root.totalboules = _root.totalboules + 1;
_root.attachMovie("boule", "boule" + _root.totalboules, _root.totalboules + 1000);
this.removeMovieClip();
}
};
Symbol 52 MovieClip [boule] Frame 41
moins = new Sound();
moins.attachSound("moins");
_root.score = _root.score - 10;
moins.start();
Symbol 52 MovieClip [boule] Frame 55
_root.fond.play();
Symbol 52 MovieClip [boule] Frame 62
gotoAndPlay ("rouge");
Symbol 60 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 1
stop();
if (_root.lang == "fr") {
gotoAndStop (2);
}
Symbol 71 Button
on (press) {
stopAllSounds();
_root.gotoAndPlay(20);
removeMovieClip(_parent._parent);
}
on (rollOver) {
_parent.pa.gotoAndStop(2);
}
on (rollOut) {
_parent.pa.gotoAndStop(1);
}
Symbol 72 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 1
stop();
if (_root.lang == "fr") {
gotoAndStop (2);
}
Symbol 76 Button
on (release) {
if (_root.lang == "en") {
_root.enabled = false;
sendscore = new LoadVars();
sendscore.score = _root.score;
sendscore.game_name = "pacos";
sendscore.flashgametime = int(getTimer() / 1000);
sendscore.gamesessid = _level0.gamesessid;
sendscore.gameid = _level0.gid;
sendscore.send("http://www.benz.be/en/newscore.php", "_blank", "POST");
}
if (_root.lang == "fr") {
_root.enabled = false;
sendscore = new LoadVars();
sendscore.score = _root.score;
sendscore.game_name = "pacos";
sendscore.flashgametime = int(getTimer() / 1000);
sendscore.gamesessid = _level0.gamesessid;
sendscore.gameid = _level0.gid;
sendscore.send("http://www.benz.be/newscore.php", "_blank", "POST");
}
}
on (rollOver) {
_parent.sce.gotoAndStop(2);
}
on (rollOut) {
_parent.sce.gotoAndStop(1);
}
Symbol 77 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 20
gotoAndPlay (1);
Symbol 85 MovieClip Frame 21
_root.score = _root.score + _parent.pt;
Symbol 85 MovieClip Frame 34
stop();
_parent.removeMovieClip();
Symbol 98 MovieClip Frame 1
stop();
pt = 100;
this.onEnterFrame = function () {
pt = pt - 1;
if (pt == 1) {
pt = 100;
}
};
Symbol 100 Button
on (press) {
if (_root.lang == "en") {
getURL ("http://www.benz.be/en/webmaster.php", "_blank");
}
if (_root.lang == "fr") {
getURL ("http://www.benz.be/webmaster.php", "_blank");
}
}
on (rollOver) {
_parent.w.gotoAndStop(2);
}
on (rollOut) {
_parent.w.gotoAndStop(1);
}
Symbol 102 MovieClip Frame 1
stop();
Symbol 105 Button
on (release) {
getURL ("http://www.benz.be/", "_blank");
}
Symbol 108 Button
on (release) {
getURL ("http://www.benz.be/en", "_blank");
}
Symbol 111 MovieClip Frame 1
stop();
if (_root.lang == "fr") {
gotoAndStop (2);
}
Symbol 114 MovieClip Frame 1
stop();
if (_root.lang == "fr") {
gotoAndStop (2);
}
Symbol 140 MovieClip Frame 1
stop();
boules = _root.totalboules - 2;
Instance of Symbol 117 MovieClip in Symbol 140 MovieClip Frame 1
on (release) {
getURL ("http://www.benz.be/de", "_blank");
}
Instance of Symbol 120 MovieClip in Symbol 140 MovieClip Frame 1
on (release) {
getURL ("http://www.benz.be/nl", "_blank");
}
Instance of Symbol 123 MovieClip in Symbol 140 MovieClip Frame 1
on (release) {
getURL ("http://www.benz.be/pt", "_blank");
}
Instance of Symbol 126 MovieClip in Symbol 140 MovieClip Frame 1
on (release) {
getURL ("http://www.benz.be/it", "_blank");
}
Instance of Symbol 129 MovieClip in Symbol 140 MovieClip Frame 1
on (release) {
getURL ("http://www.benz.be/es", "_blank");
}
Instance of Symbol 120 MovieClip in Symbol 140 MovieClip Frame 2
on (release) {
getURL ("http://www.benz.be/nl", "_blank");
}
Symbol 141 MovieClip [fin] Frame 44
stop();
_root.tuefantome = 1;
Symbol 143 MovieClip [musique] Frame 1
stop();
Symbol 150 MovieClip [grenade] Frame 1
this._x = random(360) + 20;
this._y = random(210) + 20;
active = 0;
Symbol 150 MovieClip [grenade] Frame 20
stop();
fin = 0;
this.onEnterFrame = function () {
fin = fin + 1;
if (fin >= 400) {
this.removeMovieClip();
}
if (_root.game == false) {
this.removeMovieClip();
}
if (this.hitTest(_root.pacman) && (active == 0)) {
active = 1;
play();
}
};
Symbol 150 MovieClip [grenade] Frame 55
stop();
this.removeMovieClip();
Symbol 153 MovieClip [expliquepacos] Frame 1
stop();
if (_root.lang == "fr") {
gotoAndStop (2);
}
Symbol 154 MovieClip [bonus1] Frame 1
mange = 0;
pt = 200;
this.onEnterFrame = function () {
if ((_root.game == false) && (mange == 0)) {
this.removeMovieClip();
}
if (this.hitTest(_root.pacman) && (mange == 0)) {
mange = 1;
stop();
_root.totalcerise = _root.totalcerise + 1;
cerise.gotoAndPlay("mort");
}
};
Symbol 154 MovieClip [bonus1] Frame 598
stop();
this.removeMovieClip();
Symbol 158 MovieClip [bonus4] Frame 1
vie = 0;
mange = 0;
Symbol 158 MovieClip [bonus4] Frame 2
stop();
this._x = random(400) + 20;
this._y = random(300) + 20;
pt = 800;
this.onEnterFrame = function () {
vie++;
if ((_root.game == false) && (mange == 0)) {
this.removeMovieClip();
}
if ((vie > 200) && (mange == 0)) {
this.removeMovieClip();
}
if (this.hitTest(_root.pacman) && (mange == 0)) {
mange = 1;
_root.totalbanane = _root.totalbanane + 1;
gotoAndPlay ("mort");
}
};
Symbol 158 MovieClip [bonus4] Frame 3
if (mange == 0) {
gotoAndPlay (2);
}
Symbol 158 MovieClip [bonus4] Frame 4
_root.score = _root.score + pt;
Symbol 158 MovieClip [bonus4] Frame 15
stop();
this.removeMovieClip();
Symbol 159 MovieClip [bonus3] Frame 1
vie = 0;
mange = 0;
Symbol 159 MovieClip [bonus3] Frame 2
this._x = random(400) + 20;
this._y = random(300) + 20;
pt = 500;
this.onEnterFrame = function () {
vie++;
if ((_root.game == false) && (mange == 0)) {
this.removeMovieClip();
}
if ((vie > 330) && (mange == 0)) {
this.removeMovieClip();
}
if (this.hitTest(_root.pacman) && (mange == 0)) {
mange = 1;
_root.totalraisin = _root.totalraisin + 1;
gotoAndPlay ("mort");
}
};
Symbol 159 MovieClip [bonus3] Frame 69
if (mange == 0) {
gotoAndPlay (2);
}
Symbol 159 MovieClip [bonus3] Frame 70
_root.score = _root.score + pt;
Symbol 159 MovieClip [bonus3] Frame 81
stop();
this.removeMovieClip();
Symbol 160 MovieClip [bonus2] Frame 1
vie = 0;
mange = 0;
Symbol 160 MovieClip [bonus2] Frame 2
this._x = random(400) + 20;
this._y = random(300) + 20;
pt = 300;
this.onEnterFrame = function () {
vie++;
if ((_root.game == false) && (mange == 0)) {
this.removeMovieClip();
}
if ((vie > 330) && (mange == 0)) {
this.removeMovieClip();
}
if (this.hitTest(_root.pacman) && (mange == 0)) {
mange = 1;
_root.totalfraise = _root.totalfraise + 1;
gotoAndPlay ("mort");
}
};
Symbol 160 MovieClip [bonus2] Frame 69
if (mange == 0) {
gotoAndPlay (2);
}
Symbol 160 MovieClip [bonus2] Frame 70
_root.score = _root.score + pt;
Symbol 160 MovieClip [bonus2] Frame 81
stop();
this.removeMovieClip();
Symbol 178 Button
on (release) {
getURL ("http://www.benz.be", "_blank");
}
Symbol 182 MovieClip Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("74f77dcd", this, 10301, true);
Symbol 182 MovieClip Frame 174
stop();
_root.gotoAndPlay(20);
Symbol 184 Button
on (press) {
_root.gotoAndPlay(20);
}
on (rollOver) {
_root.back.gotoAndStop(2);
}
on (rollOut) {
_root.back.gotoAndStop(1);
}
Symbol 185 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 1
stop();
Symbol 201 Button
on (release) {
_root.lang = "fr";
_root.gotoAndPlay(19);
}
Symbol 202 Button
on (release) {
_root.lang = "en";
_root.gotoAndPlay(19);
}
Symbol 225 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 1
stop();
sens = "droit";
coordon = _root._xmouse;
this.onEnterFrame = function () {
if ((_root._xmouse > (coordon + 5)) && (_root.game == true)) {
if (sens == "gauche") {
gotoAndStop (1);
sens = "droit";
}
coordon = _root._xmouse;
}
if ((_root._xmouse < (coordon - 5)) && (_root.game == true)) {
if (sens == "droit") {
gotoAndStop (2);
sens = "gauche";
}
coordon = _root._xmouse;
}
};
Symbol 244 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.hitTest(_root.pacman) && (_root.barreverif == 0)) {
_root.barreverif = 1;
_root.mangefantome = 1;
_root.barre.play();
gotoAndPlay (41);
}
};
Symbol 244 MovieClip Frame 40
gotoAndPlay (1);
Symbol 244 MovieClip Frame 41
stop();
Symbol 261 MovieClip Frame 1
if (_root.lang == "fr") {
gotoAndPlay ("fr");
}
Symbol 261 MovieClip Frame 151
pacman.anim.play();
Symbol 261 MovieClip Frame 163
pacman.anim.play();
Symbol 261 MovieClip Frame 174
pacman.anim.play();
Symbol 261 MovieClip Frame 433
pacman.anim.gotoAndPlay(2);
trace(pacman.anim);
Symbol 261 MovieClip Frame 484
pacman.anim.play();
Symbol 261 MovieClip Frame 496
pacman.anim.play();
Symbol 261 MovieClip Frame 508
pacman.anim.play();
Symbol 261 MovieClip Frame 520
pacman.anim.play();
Symbol 261 MovieClip Frame 532
pacman.anim.play();
Symbol 261 MovieClip Frame 544
pacman.anim.play();
Symbol 261 MovieClip Frame 556
pacman.anim.play();
Symbol 261 MovieClip Frame 568
pacman.anim.play();
Symbol 261 MovieClip Frame 580
pacman.anim.play();
Symbol 261 MovieClip Frame 592
pacman.anim.play();
Symbol 261 MovieClip Frame 604
pacman.anim.play();
Symbol 261 MovieClip Frame 616
pacman.anim.play();
Symbol 261 MovieClip Frame 628
pacman.anim.play();
Symbol 261 MovieClip Frame 640
pacman.anim.play();
Symbol 261 MovieClip Frame 705
gotoAndPlay (1);
Symbol 261 MovieClip Frame 856
pacman.anim.play();
Symbol 261 MovieClip Frame 868
pacman.anim.play();
Symbol 261 MovieClip Frame 879
pacman.anim.play();
Symbol 261 MovieClip Frame 1138
pacman.anim.gotoAndPlay(2);
trace(pacman.anim);
Symbol 261 MovieClip Frame 1189
pacman.anim.play();
Symbol 261 MovieClip Frame 1201
pacman.anim.play();
Symbol 261 MovieClip Frame 1213
pacman.anim.play();
Symbol 261 MovieClip Frame 1225
pacman.anim.play();
Symbol 261 MovieClip Frame 1237
pacman.anim.play();
Symbol 261 MovieClip Frame 1249
pacman.anim.play();
Symbol 261 MovieClip Frame 1261
pacman.anim.play();
Symbol 261 MovieClip Frame 1273
pacman.anim.play();
Symbol 261 MovieClip Frame 1285
pacman.anim.play();
Symbol 261 MovieClip Frame 1297
pacman.anim.play();
Symbol 261 MovieClip Frame 1309
pacman.anim.play();
Symbol 261 MovieClip Frame 1321
pacman.anim.play();
Symbol 261 MovieClip Frame 1333
pacman.anim.play();
Symbol 261 MovieClip Frame 1345
pacman.anim.play();
Symbol 261 MovieClip Frame 1410
gotoAndPlay ("fr");
Symbol 263 MovieClip Frame 1
if (_root.lang == "fr") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
Symbol 264 Button
on (press) {
_root.nextFrame();
}
on (rollOver) {
_root.p.gotoAndStop(2);
_root.fantplay.gotoAndStop(2);
}
on (rollOut) {
_root.fantplay.gotoAndStop(1);
_root.p.gotoAndStop(1);
}
Symbol 265 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 3
Xpos = _xmouse;
Ypos = _ymouse;
circle2Xpos = circle2._x;
circle2Ypos = circle2._y;
x = Xpos - circle2Xpos;
y = Ypos - circle2Ypos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle2._rotation;
if (Xpos < circle2Xpos) {
circle2._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circle2Xpos) {
circle2._rotation = theta / 0.0175;
}
Mouse.show();
Xpos = _xmouse;
Ypos = _ymouse;
circleXpos = circle._x;
circleYpos = circle._y;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle._rotation;
if (Xpos < circleXpos) {
circle._rotation = 180 - (theta / 0.0175);
} else if (Xpos > circleXpos) {
circle._rotation = theta / 0.0175;
}
Symbol 276 MovieClip Frame 243
gotoAndPlay (108);
Symbol 278 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 1
stop();
if (_root.lang == "fr") {
gotoAndStop (2);
}
Symbol 282 Button
on (press) {
if (_root.lang == "en") {
getURL ("http://www.benz.be/en/games/Phoenix-revenge", "_blank");
}
if (_root.lang == "fr") {
getURL ("http://www.benz.be/games/Phoenix-revenge", "_blank");
}
}
on (rollOver) {
_root.ph.gotoAndStop(2);
_root.phoenixplay.gotoAndStop(2);
}
on (rollOut) {
_root.phoenixplay.gotoAndStop(1);
_root.ph.gotoAndStop(1);
}
Symbol 283 MovieClip Frame 1
stop();
Symbol 284 Button
on (press) {
_root.gotoAndPlay("credits");
}
on (rollOver) {
_root.credit.gotoAndStop(2);
}
on (rollOut) {
_root.credit.gotoAndStop(1);
}
Symbol 285 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 1
temps = -150;
nbbonus = 0;
this.onEnterFrame = function () {
temps = temps + 1;
if (temps >= 800) {
temps = 0;
nbbonus++;
fl = random(4) + 1;
_root.attachMovie("bonus" + fl, "bonus" + nbbonus, 4800 + nbbonus, {_x:0, _y:0});
}
};
Symbol 306 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 106
_root.fantomeai = _root.fantomeai + 1;
_root.attachMovie("fantomeai", "fantomeai" + _root.fantomeai, 5200 + _root.fantomeai, {_x:508, _y:165});
Symbol 313 MovieClip Frame 1
stop();
_root.mangefantome = 0;
_root.barreverif = 0;
Symbol 314 MovieClip Frame 1
compte = -200;
nbre = 6500;
this.onEnterFrame = function () {
compte = compte + 1;
if ((compte >= (700 - (3 * _root.totalboules))) && (_root.mangefantome == 0)) {
compte = 0;
_root.attachMovie("fantome2", "fant" + nbre, nbre, {_x:250, _y:176});
nbre++;
}
};