Frame 2
stop();
_root.langue = 0;
Frame 3
stop();
_root.langue = 1;
Frame 38
if (_root.langue == 0) {
_root.tit = "presents";
} else if (_root.langue == 1) {
_root.tit = "pr\u00E9sente";
}
Frame 54
stopAllSounds();
music = new Sound();
music.attachSound("music");
music.start(0, 10000000);
if (_root.langue == 0) {
_root.created = "created by";
} else if (_root.langue == 1) {
_root.created = "cr\u00E9\u00E9 par";
}
Frame 120
if (_root.langue == 0) {
_root.dial = "Good evening and welcome to the casino\u2026";
} else if (_root.langue == 1) {
_root.dial = "Bonsoir et bienvenu au casino\u2026";
}
Frame 156
if (_root.langue == 0) {
_root.dial = "My name is Irina, I\u2019m your hostess for evening and I am with you to give you luck...";
} else if (_root.langue == 1) {
_root.dial = "Mon nom est Irina, je suis votre h\u00F4tesse pour la soir\u00E9e et je suis ici pour vous porter chance\u2026";
}
Frame 222
if (_root.langue == 0) {
_root.dial = "I feel that you will gain a lot of money and I am ready to remove one of my clothes every time you will give me 100 $...";
} else if (_root.langue == 1) {
_root.dial = "Je sens que vous allez gagner beaucoup d\u2019argent et je suis pr\u00EAte \u00E0 retirer un de mes v\u00EAtements chaque fois que vous me donnerez 100$...";
}
Frame 320
if (_root.langue == 0) {
_root.dial = "Do you want to test your luck?";
} else if (_root.langue == 1) {
_root.dial = "Voulez-vous tenter votre chance?";
}
Frame 344
stop();
Frame 345
prevFrame();
Frame 346
stop();
_root.coup = 0;
_root.phase = 6;
_root.choixpossible = 0;
_root.cadran1 = 1;
_root.cadran2 = 1;
_root.cadran3 = 1;
_root.mouvement = 0;
_root.lightgain._visible = false;
_root.msg1._visible = false;
_root.msg2._visible = false;
_root.changevideo = 0;
_root.animstriprobe.stop();
_root.animstriprobe._x = 250;
_root.animstriprobe._y = 40;
_root.animmvt1robe.stop();
_root.animmvt1robe._x = 500;
_root.animmvt1robe._y = 40;
_root.animmvt2robe.stop();
_root.animmvt2robe._x = 500;
_root.animmvt2robe._y = 40;
_root.animmvt3robe.stop();
_root.animmvt3robe._x = 500;
_root.animmvt3robe._y = 40;
_root.animmvt4robe.stop();
_root.animmvt4robe._x = 500;
_root.animmvt4robe._y = 40;
_root.visage0._x = 301;
_root.visage1._x = 301;
_root.visage2._x = 301;
_root.visage3._x = 301;
_root.visage4._x = 301;
_root.visage5._x = 301;
_root.visage6._x = 301;
_root.visage0._y = 41;
_root.visage1._y = 41;
_root.visage2._y = 41;
_root.visage3._y = 41;
_root.visage4._y = 41;
_root.visage5._y = 41;
_root.visage6._y = 41;
_root.visage0._visible = true;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
if (_root.money < 100) {
_root.boutonrouge._visible = true;
} else {
_root.boutonrouge._visible = false;
}
dollars = 50;
p = 0;
u = 0;
_root.oldi = 1;
_root.oldj = 6;
_root.oldk = 5;
_root.level = 0;
Instance of Symbol 17 MovieClip in Frame 346
onClipEvent (enterFrame) {
if (_root.p == 0) {
_root.changevideo = 0;
_root.q = random(70);
_root.r = _root.q + 140;
_root.p = _root.p + 1;
} else if ((_root.p == _root.r) and (_root.changevideo == 0)) {
_root.changevideo = 1;
_root.p = 0;
} else {
_root.p = _root.p + 1;
}
}
onClipEvent (enterFrame) {
if (((_root.changevideo == 1) and (_root.mouvement == 0)) and (_root.q < 35)) {
_root.animmvt1robe._x = 500;
_root.animmvt2robe._x = 500;
_root.animmvt3robe._x = 500;
_root.animmvt4robe._x = 500;
_root.animstriprobe._x = 250;
_root.animmvt1robe.gotoAndStop(1);
_root.animmvt2robe.gotoAndStop(1);
_root.animmvt3robe.gotoAndStop(1);
_root.animmvt4robe.gotoAndStop(1);
_root.mouvement = 1;
} else if (((_root.changevideo == 1) and (_root.mouvement == 0)) and (_root.q > 34)) {
_root.animmvt1robe._x = 500;
_root.animmvt2robe._x = 500;
_root.animmvt3robe._x = 500;
_root.animmvt4robe._x = 500;
_root.animstriprobe._x = 250;
_root.animmvt1robe.gotoAndStop(1);
_root.animmvt2robe.gotoAndStop(1);
_root.animmvt3robe.gotoAndStop(1);
_root.animmvt4robe.gotoAndStop(1);
_root.mouvement = 3;
} else if ((_root.changevideo == 1) and (_root.mouvement == 1)) {
_root.animmvt1robe._x = 250;
_root.animmvt2robe._x = 500;
_root.animmvt3robe._x = 500;
_root.animmvt4robe._x = 500;
_root.animstriprobe._x = 500;
_root.animmvt1robe.play();
_root.mouvement = 2;
} else if ((_root.changevideo == 1) and (_root.mouvement == 3)) {
_root.animmvt1robe._x = 500;
_root.animmvt2robe._x = 500;
_root.animmvt3robe._x = 250;
_root.animmvt4robe._x = 500;
_root.animstriprobe._x = 500;
_root.animmvt3robe.play();
_root.mouvement = 4;
} else if ((_root.changevideo == 1) and (_root.mouvement == 2)) {
_root.animmvt1robe._x = 500;
_root.animmvt2robe._x = 250;
_root.animmvt3robe._x = 500;
_root.animmvt4robe._x = 500;
_root.animstriprobe._x = 500;
_root.animmvt2robe.play();
_root.mouvement = 0;
} else if ((_root.changevideo == 1) and (_root.mouvement == 4)) {
_root.animmvt1robe._x = 500;
_root.animmvt2robe._x = 500;
_root.animmvt3robe._x = 500;
_root.animmvt4robe._x = 250;
_root.animstriprobe._x = 500;
_root.animmvt4robe.play();
_root.mouvement = 0;
}
}
onClipEvent (enterFrame) {
if ((_root.changevideo == 2) and (_root.mouvement == 2)) {
_root.animmvt1robe._x = 500;
_root.animmvt2robe._x = 250;
_root.animmvt3robe._x = 500;
_root.animmvt4robe._x = 500;
_root.animstriprobe._x = 500;
_root.animmvt2robe.play();
_root.phase = 7;
} else if ((_root.changevideo == 2) and (_root.mouvement == 4)) {
_root.animmvt1robe._x = 500;
_root.animmvt2robe._x = 500;
_root.animmvt3robe._x = 500;
_root.animmvt4robe._x = 250;
_root.animstriprobe._x = 500;
_root.animmvt4robe.play();
_root.phase = 7;
} else if (((_root.changevideo == 2) and (_root.mouvement != 2)) and (_root.mouvement != 4)) {
_root.changevideo = 3;
_root.phase = 7;
}
}
onClipEvent (enterFrame) {
if (_root.changevideo == 3) {
_root.animmvt1robe._x = 500;
_root.animmvt2robe._x = 500;
_root.animmvt3robe._x = 500;
_root.animmvt4robe._x = 500;
_root.animstriprobe._x = 250;
_root.animstriprobe.play();
_root.mouvement = 0;
}
}
onClipEvent (enterFrame) {
if (_root.u == 0) {
_root.v = random(7);
_root.w = random(40);
_root.ww = _root.w + 30;
_root.u = _root.u + 1;
} else if ((_root.u == _root.ww) and (_root.changevideo < 2)) {
_root.changeimage = _root.v;
_root.u = 0;
} else {
_root.u = _root.u + 1;
}
}
onClipEvent (enterFrame) {
if (_root.changeimage == 0) {
_root.visage0._visible = true;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 1) {
_root.visage0._visible = false;
_root.visage1._visible = true;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 2) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = true;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 3) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = true;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 4) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = true;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 5) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = true;
_root.visage6._visible = false;
} else if (_root.changeimage == 6) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = true;
} else if (_root.changeimage == 9) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else {
_root.visage0._visible = true;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
}
}
Instance of Symbol 101 MovieClip in Frame 346
onClipEvent (load) {
i = _root.oldi;
j = _root.oldj;
k = _root.oldk;
}
onClipEvent (enterFrame) {
if (_root.e < _root.t1) {
_root.e = _root.e + 1;
}
if ((_root.e < _root.t1) and (_root.cadran1 == 1)) {
i = i + 1;
}
if (_root.f < _root.t2) {
_root.f = _root.f + 1;
}
if ((_root.f < _root.t2) and (_root.cadran2 == 1)) {
j = j + 1;
}
if (_root.g < _root.t3) {
_root.g = _root.g + 1;
}
if ((_root.g < _root.t3) and (_root.cadran3 == 1)) {
k = k + 1;
}
if (i == 7) {
i = 1;
}
if (j == 7) {
j = 1;
}
if (k == 7) {
k = 1;
}
}
onClipEvent (enterFrame) {
if (i == 1) {
_root.f11._visible = true;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 2) {
_root.f11._visible = false;
_root.f12._visible = true;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 3) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = true;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 4) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = true;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 5) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = true;
_root.f16._visible = false;
} else if (i == 6) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = true;
}
if (j == 1) {
_root.f21._visible = true;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 2) {
_root.f21._visible = false;
_root.f22._visible = true;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 3) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = true;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 4) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = true;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 5) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = true;
_root.f26._visible = false;
} else if (j == 6) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = true;
}
if (k == 1) {
_root.f31._visible = true;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 2) {
_root.f31._visible = false;
_root.f32._visible = true;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 3) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = true;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 4) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = true;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 5) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = true;
_root.f36._visible = false;
} else if (k == 6) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.phase == 0) {
_root.choixpossible = 0;
_root.cadran1 = 1;
_root.cadran2 = 1;
_root.cadran3 = 1;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
if ((((_root.e < _root.t1) and (_root.f < _root.t2)) and (_root.g < _root.t3)) and (_root.phase == 0)) {
_root.phase = 1;
}
if (_root.phase == 1) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
if ((((_root.e == _root.t1) and (_root.f == _root.t2)) and (_root.g == _root.t3)) and (_root.phase == 1)) {
_root.phase = 2;
}
if (_root.phase == 2) {
_root.choixpossible = 1;
if (_root.cadran1 == 1) {
_root.n1._visible = false;
_root.v1._visible = true;
_root.r1._visible = false;
} else if (_root.cadran1 == 0) {
_root.n1._visible = false;
_root.v1._visible = false;
_root.r1._visible = true;
}
if (_root.cadran2 == 1) {
_root.n2._visible = false;
_root.v2._visible = true;
_root.r2._visible = false;
} else if (_root.cadran2 == 0) {
_root.n2._visible = false;
_root.v2._visible = false;
_root.r2._visible = true;
}
if (_root.cadran3 == 1) {
_root.n3._visible = false;
_root.v3._visible = true;
_root.r3._visible = false;
} else if (_root.cadran3 == 0) {
_root.n3._visible = false;
_root.v3._visible = false;
_root.r3._visible = true;
}
}
if ((((_root.e < _root.t1) and (_root.f < _root.t2)) and (_root.g < _root.t3)) and (_root.phase == 2)) {
_root.phase = 3;
}
if (_root.phase == 3) {
_root.choixpossible = 0;
if (_root.cadran1 == 1) {
_root.n1._visible = false;
_root.v1._visible = true;
_root.r1._visible = false;
} else if (_root.cadran1 == 0) {
_root.n1._visible = false;
_root.v1._visible = false;
_root.r1._visible = true;
}
if (_root.cadran2 == 1) {
_root.n2._visible = false;
_root.v2._visible = true;
_root.r2._visible = false;
} else if (_root.cadran2 == 0) {
_root.n2._visible = false;
_root.v2._visible = false;
_root.r2._visible = true;
}
if (_root.cadran3 == 1) {
_root.n3._visible = false;
_root.v3._visible = true;
_root.r3._visible = false;
} else if (_root.cadran3 == 0) {
_root.n3._visible = false;
_root.v3._visible = false;
_root.r3._visible = true;
}
}
if ((((_root.e == _root.t1) and (_root.f == _root.t2)) and (_root.g == _root.t3)) and (_root.phase == 3)) {
_root.phase = 4;
}
if (_root.phase == 4) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
}
onClipEvent (enterFrame) {
if (((i == 4) and (j == 4)) and (k == 4)) {
_root.gain = 1;
} else if (((i == 2) and (j == 2)) and (k == 2)) {
_root.gain = 2;
} else if (((i == 3) and (j == 3)) and (k == 3)) {
_root.gain = 3;
} else if ((i == 6) and (j == 6)) {
_root.gain = 4;
} else if ((i == 6) and (k == 6)) {
_root.gain = 4;
} else if ((j == 6) and (k == 6)) {
_root.gain = 4;
} else if ((i == 5) and (j == 5)) {
_root.gain = 5;
} else if ((i == 5) and (k == 5)) {
_root.gain = 5;
} else if ((j == 5) and (k == 5)) {
_root.gain = 5;
} else if ((i == 1) and (j == 1)) {
_root.gain = 6;
} else if ((i == 1) and (k == 1)) {
_root.gain = 6;
} else if ((j == 1) and (k == 1)) {
_root.gain = 6;
} else {
_root.gain = 0;
}
}
onClipEvent (enterFrame) {
if ((_root.phase == 2) and (_root.gain > 0)) {
_root.phase = 5;
}
if (_root.phase == 4) {
_root.phase = 5;
}
if ((_root.phase == 5) and (_root.gain == 1)) {
_root.dollars = _root.dollars + 100;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 2)) {
_root.dollars = _root.dollars + 60;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 3)) {
_root.dollars = _root.dollars + 40;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 4)) {
_root.dollars = _root.dollars + 15;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 5)) {
_root.dollars = _root.dollars + 10;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 6)) {
_root.dollars = _root.dollars + 5;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 0)) {
_root.dollars = _root.dollars + 0;
_root.lightgain._visible = false;
_root.phase = 6;
}
if (_root.phase == 6) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
_root.pay._visible = true;
}
if (_root.phase == 7) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
_root.pay._visible = true;
_root.oldi = i;
_root.oldj = j;
_root.oldk = k;
}
_root.money = _root.dollars;
if (_root.money < 100) {
_root.boutonrouge._visible = true;
} else {
_root.boutonrouge._visible = false;
}
_root.test = _root.phase;
}
Instance of Symbol 148 MovieClip "boutonrouge" in Frame 346
onClipEvent (load) {
if (_root.langue == 0) {
_root.textebouton = "buy";
} else if (_root.langue == 1) {
_root.textebouton = "acheter";
}
}
Instance of Symbol 53 MovieClip in Frame 346
onClipEvent (load) {
son1 = new Sound();
son1.attachSound("coin");
son2 = new Sound();
son2.attachSound("tourne");
son3 = new Sound();
son3.attachSound("stop");
son4 = new Sound();
son4.attachSound("gagne");
son5 = new Sound();
son5.attachSound("bloque");
_root.sonpossible = 0;
}
onClipEvent (enterFrame) {
if ((_root.phase == 0) and (_root.sonpossible == 0)) {
son2.stop("tourne");
son3.stop("stop");
son4.stop("gagne");
son5.stop("bloque");
son1.start("coin");
_root.sonpossible = 1;
}
if ((_root.phase == 1) and (_root.sonpossible == 1)) {
son1.stop("coin");
son3.stop("stop");
son4.stop("gagne");
son5.stop("bloque");
son2.start("tourne");
_root.sonpossible = 2;
}
if ((_root.phase == 2) and (_root.sonpossible == 2)) {
son1.stop("coin");
son2.stop("tourne");
son4.stop("gagne");
son5.stop("bloque");
son3.start("stop");
_root.sonpossible = 3;
}
if ((_root.phase == 3) and (_root.sonpossible == 3)) {
son1.stop("coin");
son3.stop("stop");
son4.stop("gagne");
son5.stop("bloque");
son2.start("tourne");
_root.sonpossible = 2;
}
if ((_root.phase == 6) and (_root.sonpossible == 2)) {
son1.stop("coin");
son2.stop("tourne");
son4.stop("gagne");
son5.stop("bloque");
son3.start("stop");
_root.sonpossible = 4;
}
if (((_root.phase == 6) and (_root.sonpossible == 4)) and (_root.gain > 0)) {
son1.stop("coin");
son2.stop("tourne");
son3.stop("stop");
son5.stop("bloque");
son4.start("gagne");
_root.sonpossible = 0;
}
if (((_root.phase == 6) and (_root.sonpossible == 4)) and (_root.gain == 0)) {
_root.sonpossible = 0;
}
if (_root.soncadran == 1) {
son1.stop("coin");
son2.stop("tourne");
son3.stop("stop");
son4.stop("gagne");
son5.start("bloque");
_root.soncadran = 0;
}
}
Frame 347
prevFrame();
Frame 348
if (_root.oldi == 1) {
_root.f11._visible = true;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 2) {
_root.f11._visible = false;
_root.f12._visible = true;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 3) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = true;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 4) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = true;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 5) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = true;
_root.f16._visible = false;
} else if (_root.oldi == 6) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = true;
}
if (_root.oldj == 1) {
_root.f21._visible = true;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 2) {
_root.f21._visible = false;
_root.f22._visible = true;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 3) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = true;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 4) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = true;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 5) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = true;
_root.f26._visible = false;
} else if (_root.oldj == 6) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = true;
}
if (_root.oldk == 1) {
_root.f31._visible = true;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 2) {
_root.f31._visible = false;
_root.f32._visible = true;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 3) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = true;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 4) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = true;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 5) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = true;
_root.f36._visible = false;
} else if (_root.oldk == 6) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = true;
}
stop();
_root.coup = 0;
_root.phase = 0;
_root.choixpossible = 0;
_root.cadran1 = 1;
_root.cadran2 = 1;
_root.cadran3 = 1;
_root.mouvement = 0;
_root.lightgain._visible = false;
_root.msg1._visible = false;
_root.msg2._visible = false;
_root.changevideo = 0;
_root.animstripshoes.stop();
_root.animstripshoes._x = 250;
_root.animstripshoes._y = 40;
_root.animmvt1shoes.stop();
_root.animmvt1shoes._x = 500;
_root.animmvt1shoes._y = 40;
_root.animmvt2shoes.stop();
_root.animmvt2shoes._x = 500;
_root.animmvt2shoes._y = 40;
_root.animmvt3shoes.stop();
_root.animmvt3shoes._x = 500;
_root.animmvt3shoes._y = 40;
_root.animmvt4shoes.stop();
_root.animmvt4shoes._x = 500;
_root.animmvt4shoes._y = 40;
_root.visage0._x = 301;
_root.visage1._x = 301;
_root.visage2._x = 301;
_root.visage3._x = 301;
_root.visage4._x = 301;
_root.visage5._x = 301;
_root.visage6._x = 301;
_root.visage0._y = 41;
_root.visage1._y = 41;
_root.visage2._y = 41;
_root.visage3._y = 41;
_root.visage4._y = 41;
_root.visage5._y = 41;
_root.visage6._y = 41;
_root.visage0._visible = true;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
_root.p = 0;
_root.u = 0;
if (_root.money < 100) {
_root.boutonrouge._visible = true;
} else {
_root.boutonrouge._visible = false;
}
Instance of Symbol 17 MovieClip in Frame 348
onClipEvent (enterFrame) {
if (_root.p == 0) {
_root.changevideo = 0;
_root.q = random(70);
_root.r = _root.q + 140;
_root.p = _root.p + 1;
} else if ((_root.p == _root.r) and (_root.changevideo == 0)) {
_root.changevideo = 1;
_root.p = 0;
} else {
_root.p = _root.p + 1;
}
}
onClipEvent (enterFrame) {
if (((_root.changevideo == 1) and (_root.mouvement == 0)) and (_root.q < 35)) {
_root.animmvt1shoes._x = 500;
_root.animmvt2shoes._x = 500;
_root.animmvt3shoes._x = 500;
_root.animmvt4shoes._x = 500;
_root.animstripshoes._x = 250;
_root.animmvt1shoes.gotoAndStop(1);
_root.animmvt2shoes.gotoAndStop(1);
_root.animmvt3shoes.gotoAndStop(1);
_root.animmvt4shoes.gotoAndStop(1);
_root.mouvement = 1;
} else if (((_root.changevideo == 1) and (_root.mouvement == 0)) and (_root.q > 34)) {
_root.animmvt1shoes._x = 500;
_root.animmvt2shoes._x = 500;
_root.animmvt3shoes._x = 500;
_root.animmvt4shoes._x = 500;
_root.animstripshoes._x = 250;
_root.animmvt1shoes.gotoAndStop(1);
_root.animmvt2shoes.gotoAndStop(1);
_root.animmvt3shoes.gotoAndStop(1);
_root.animmvt4shoes.gotoAndStop(1);
_root.mouvement = 3;
} else if ((_root.changevideo == 1) and (_root.mouvement == 1)) {
_root.animmvt1shoes._x = 250;
_root.animmvt2shoes._x = 500;
_root.animmvt3shoes._x = 500;
_root.animmvt4shoes._x = 500;
_root.animstripshoes._x = 500;
_root.animmvt1shoes.play();
_root.mouvement = 2;
} else if ((_root.changevideo == 1) and (_root.mouvement == 3)) {
_root.animmvt1shoes._x = 500;
_root.animmvt2shoes._x = 500;
_root.animmvt3shoes._x = 250;
_root.animmvt4shoes._x = 500;
_root.animstripshoes._x = 500;
_root.animmvt3shoes.play();
_root.mouvement = 4;
} else if ((_root.changevideo == 1) and (_root.mouvement == 2)) {
_root.animmvt1shoes._x = 500;
_root.animmvt2shoes._x = 250;
_root.animmvt3shoes._x = 500;
_root.animmvt4shoes._x = 500;
_root.animstripshoes._x = 500;
_root.animmvt2shoes.play();
_root.mouvement = 0;
} else if ((_root.changevideo == 1) and (_root.mouvement == 4)) {
_root.animmvt1shoes._x = 500;
_root.animmvt2shoes._x = 500;
_root.animmvt3shoes._x = 500;
_root.animmvt4shoes._x = 250;
_root.animstripshoes._x = 500;
_root.animmvt4shoes.play();
_root.mouvement = 0;
}
}
onClipEvent (enterFrame) {
if ((_root.changevideo == 2) and (_root.mouvement == 2)) {
_root.animmvt1shoes._x = 500;
_root.animmvt2shoes._x = 250;
_root.animmvt3shoes._x = 500;
_root.animmvt4shoes._x = 500;
_root.animstripshoes._x = 500;
_root.animmvt2shoes.play();
_root.phase = 7;
} else if ((_root.changevideo == 2) and (_root.mouvement == 4)) {
_root.animmvt1shoes._x = 500;
_root.animmvt2shoes._x = 500;
_root.animmvt3shoes._x = 500;
_root.animmvt4shoes._x = 250;
_root.animstripshoes._x = 500;
_root.animmvt4shoes.play();
_root.phase = 7;
} else if (((_root.changevideo == 2) and (_root.mouvement != 2)) and (_root.mouvement != 4)) {
_root.changevideo = 3;
_root.phase = 7;
}
}
onClipEvent (enterFrame) {
if (_root.changevideo == 3) {
_root.animmvt1shoes._x = 500;
_root.animmvt2shoes._x = 500;
_root.animmvt3shoes._x = 500;
_root.animmvt4shoes._x = 500;
_root.animstripshoes._x = 250;
_root.animstripshoes.play();
_root.mouvement = 0;
}
}
onClipEvent (enterFrame) {
if (_root.u == 0) {
_root.v = random(7);
_root.w = random(40);
_root.ww = _root.w + 30;
_root.u = _root.u + 1;
} else if ((_root.u == _root.ww) and (_root.changevideo < 2)) {
_root.changeimage = _root.v;
_root.u = 0;
} else {
_root.u = _root.u + 1;
}
}
onClipEvent (enterFrame) {
if (_root.changeimage == 0) {
_root.visage0._visible = true;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 1) {
_root.visage0._visible = false;
_root.visage1._visible = true;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 2) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = true;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 3) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = true;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 4) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = true;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 5) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = true;
_root.visage6._visible = false;
} else if (_root.changeimage == 6) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = true;
} else if (_root.changeimage == 9) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else {
_root.visage0._visible = true;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
}
}
Instance of Symbol 101 MovieClip in Frame 348
onClipEvent (load) {
i = _root.oldi;
j = _root.oldj;
k = _root.oldk;
}
onClipEvent (enterFrame) {
if (_root.e < _root.t1) {
_root.e = _root.e + 1;
}
if ((_root.e < _root.t1) and (_root.cadran1 == 1)) {
i = i + 1;
}
if (_root.f < _root.t2) {
_root.f = _root.f + 1;
}
if ((_root.f < _root.t2) and (_root.cadran2 == 1)) {
j = j + 1;
}
if (_root.g < _root.t3) {
_root.g = _root.g + 1;
}
if ((_root.g < _root.t3) and (_root.cadran3 == 1)) {
k = k + 1;
}
if (i == 7) {
i = 1;
}
if (j == 7) {
j = 1;
}
if (k == 7) {
k = 1;
}
}
onClipEvent (enterFrame) {
if (i == 1) {
_root.f11._visible = true;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 2) {
_root.f11._visible = false;
_root.f12._visible = true;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 3) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = true;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 4) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = true;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 5) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = true;
_root.f16._visible = false;
} else if (i == 6) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = true;
}
if (j == 1) {
_root.f21._visible = true;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 2) {
_root.f21._visible = false;
_root.f22._visible = true;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 3) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = true;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 4) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = true;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 5) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = true;
_root.f26._visible = false;
} else if (j == 6) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = true;
}
if (k == 1) {
_root.f31._visible = true;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 2) {
_root.f31._visible = false;
_root.f32._visible = true;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 3) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = true;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 4) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = true;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 5) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = true;
_root.f36._visible = false;
} else if (k == 6) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.phase == 0) {
_root.choixpossible = 0;
_root.cadran1 = 1;
_root.cadran2 = 1;
_root.cadran3 = 1;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
if ((((_root.e < _root.t1) and (_root.f < _root.t2)) and (_root.g < _root.t3)) and (_root.phase == 0)) {
_root.phase = 1;
}
if (_root.phase == 1) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
if ((((_root.e == _root.t1) and (_root.f == _root.t2)) and (_root.g == _root.t3)) and (_root.phase == 1)) {
_root.phase = 2;
}
if (_root.phase == 2) {
_root.choixpossible = 1;
if (_root.cadran1 == 1) {
_root.n1._visible = false;
_root.v1._visible = true;
_root.r1._visible = false;
} else if (_root.cadran1 == 0) {
_root.n1._visible = false;
_root.v1._visible = false;
_root.r1._visible = true;
}
if (_root.cadran2 == 1) {
_root.n2._visible = false;
_root.v2._visible = true;
_root.r2._visible = false;
} else if (_root.cadran2 == 0) {
_root.n2._visible = false;
_root.v2._visible = false;
_root.r2._visible = true;
}
if (_root.cadran3 == 1) {
_root.n3._visible = false;
_root.v3._visible = true;
_root.r3._visible = false;
} else if (_root.cadran3 == 0) {
_root.n3._visible = false;
_root.v3._visible = false;
_root.r3._visible = true;
}
}
if ((((_root.e < _root.t1) and (_root.f < _root.t2)) and (_root.g < _root.t3)) and (_root.phase == 2)) {
_root.phase = 3;
}
if (_root.phase == 3) {
_root.choixpossible = 0;
if (_root.cadran1 == 1) {
_root.n1._visible = false;
_root.v1._visible = true;
_root.r1._visible = false;
} else if (_root.cadran1 == 0) {
_root.n1._visible = false;
_root.v1._visible = false;
_root.r1._visible = true;
}
if (_root.cadran2 == 1) {
_root.n2._visible = false;
_root.v2._visible = true;
_root.r2._visible = false;
} else if (_root.cadran2 == 0) {
_root.n2._visible = false;
_root.v2._visible = false;
_root.r2._visible = true;
}
if (_root.cadran3 == 1) {
_root.n3._visible = false;
_root.v3._visible = true;
_root.r3._visible = false;
} else if (_root.cadran3 == 0) {
_root.n3._visible = false;
_root.v3._visible = false;
_root.r3._visible = true;
}
}
if ((((_root.e == _root.t1) and (_root.f == _root.t2)) and (_root.g == _root.t3)) and (_root.phase == 3)) {
_root.phase = 4;
}
if (_root.phase == 4) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
}
onClipEvent (enterFrame) {
if (((i == 4) and (j == 4)) and (k == 4)) {
_root.gain = 1;
} else if (((i == 2) and (j == 2)) and (k == 2)) {
_root.gain = 2;
} else if (((i == 3) and (j == 3)) and (k == 3)) {
_root.gain = 3;
} else if ((i == 6) and (j == 6)) {
_root.gain = 4;
} else if ((i == 6) and (k == 6)) {
_root.gain = 4;
} else if ((j == 6) and (k == 6)) {
_root.gain = 4;
} else if ((i == 5) and (j == 5)) {
_root.gain = 5;
} else if ((i == 5) and (k == 5)) {
_root.gain = 5;
} else if ((j == 5) and (k == 5)) {
_root.gain = 5;
} else if ((i == 1) and (j == 1)) {
_root.gain = 6;
} else if ((i == 1) and (k == 1)) {
_root.gain = 6;
} else if ((j == 1) and (k == 1)) {
_root.gain = 6;
} else {
_root.gain = 0;
}
}
onClipEvent (enterFrame) {
if ((_root.phase == 2) and (_root.gain > 0)) {
_root.phase = 5;
}
if (_root.phase == 4) {
_root.phase = 5;
}
if ((_root.phase == 5) and (_root.gain == 1)) {
_root.dollars = _root.dollars + 100;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 2)) {
_root.dollars = _root.dollars + 60;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 3)) {
_root.dollars = _root.dollars + 40;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 4)) {
_root.dollars = _root.dollars + 15;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 5)) {
_root.dollars = _root.dollars + 10;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 6)) {
_root.dollars = _root.dollars + 5;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 0)) {
_root.dollars = _root.dollars + 0;
_root.lightgain._visible = false;
_root.phase = 6;
}
if (_root.phase == 6) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
_root.pay._visible = true;
}
if (_root.phase == 7) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
_root.pay._visible = true;
_root.oldi = i;
_root.oldj = j;
_root.oldk = k;
}
_root.money = _root.dollars;
if (_root.money < 100) {
_root.boutonrouge._visible = true;
} else {
_root.boutonrouge._visible = false;
}
}
Instance of Symbol 148 MovieClip "boutonrouge" in Frame 348
onClipEvent (load) {
if (_root.langue == 0) {
_root.textebouton = "buy";
} else if (_root.langue == 1) {
_root.textebouton = "acheter";
}
}
Instance of Symbol 53 MovieClip in Frame 348
onClipEvent (load) {
son1 = new Sound();
son1.attachSound("coin");
son2 = new Sound();
son2.attachSound("tourne");
son3 = new Sound();
son3.attachSound("stop");
son4 = new Sound();
son4.attachSound("gagne");
son5 = new Sound();
son5.attachSound("bloque");
_root.sonpossible = 0;
}
onClipEvent (enterFrame) {
if ((_root.phase == 0) and (_root.sonpossible == 0)) {
son2.stop("tourne");
son3.stop("stop");
son4.stop("gagne");
son5.stop("bloque");
son1.start("coin");
_root.sonpossible = 1;
}
if ((_root.phase == 1) and (_root.sonpossible == 1)) {
son1.stop("coin");
son3.stop("stop");
son4.stop("gagne");
son5.stop("bloque");
son2.start("tourne");
_root.sonpossible = 2;
}
if ((_root.phase == 2) and (_root.sonpossible == 2)) {
son1.stop("coin");
son2.stop("tourne");
son4.stop("gagne");
son5.stop("bloque");
son3.start("stop");
_root.sonpossible = 3;
}
if ((_root.phase == 3) and (_root.sonpossible == 3)) {
son1.stop("coin");
son3.stop("stop");
son4.stop("gagne");
son5.stop("bloque");
son2.start("tourne");
_root.sonpossible = 2;
}
if ((_root.phase == 6) and (_root.sonpossible == 2)) {
son1.stop("coin");
son2.stop("tourne");
son4.stop("gagne");
son5.stop("bloque");
son3.start("stop");
_root.sonpossible = 4;
}
if (((_root.phase == 6) and (_root.sonpossible == 4)) and (_root.gain > 0)) {
son1.stop("coin");
son2.stop("tourne");
son3.stop("stop");
son5.stop("bloque");
son4.start("gagne");
_root.sonpossible = 0;
}
if (((_root.phase == 6) and (_root.sonpossible == 4)) and (_root.gain == 0)) {
_root.sonpossible = 0;
}
if (_root.soncadran == 1) {
son1.stop("coin");
son2.stop("tourne");
son3.stop("stop");
son4.stop("gagne");
son5.start("bloque");
_root.soncadran = 0;
}
}
Frame 349
prevFrame();
Frame 350
if (_root.oldi == 1) {
_root.f11._visible = true;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 2) {
_root.f11._visible = false;
_root.f12._visible = true;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 3) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = true;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 4) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = true;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 5) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = true;
_root.f16._visible = false;
} else if (_root.oldi == 6) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = true;
}
if (_root.oldj == 1) {
_root.f21._visible = true;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 2) {
_root.f21._visible = false;
_root.f22._visible = true;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 3) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = true;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 4) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = true;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 5) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = true;
_root.f26._visible = false;
} else if (_root.oldj == 6) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = true;
}
if (_root.oldk == 1) {
_root.f31._visible = true;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 2) {
_root.f31._visible = false;
_root.f32._visible = true;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 3) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = true;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 4) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = true;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 5) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = true;
_root.f36._visible = false;
} else if (_root.oldk == 6) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = true;
}
stop();
_root.coup = 0;
_root.phase = 0;
_root.choixpossible = 0;
_root.cadran1 = 1;
_root.cadran2 = 1;
_root.cadran3 = 1;
_root.mouvement = 0;
_root.lightgain._visible = false;
_root.msg1._visible = false;
_root.msg2._visible = false;
_root.changevideo = 0;
_root.animstripbas.stop();
_root.animstripbas._x = 250;
_root.animstripbas._y = 40;
_root.animmvt1bas.stop();
_root.animmvt1bas._x = 500;
_root.animmvt1bas._y = 40;
_root.animmvt2bas.stop();
_root.animmvt2bas._x = 500;
_root.animmvt2bas._y = 40;
_root.animmvt3bas.stop();
_root.animmvt3bas._x = 500;
_root.animmvt3bas._y = 40;
_root.animmvt4bas.stop();
_root.animmvt4bas._x = 500;
_root.animmvt4bas._y = 40;
_root.visage0._x = 301;
_root.visage1._x = 301;
_root.visage2._x = 301;
_root.visage3._x = 301;
_root.visage4._x = 301;
_root.visage5._x = 301;
_root.visage6._x = 301;
_root.visage0._y = 41;
_root.visage1._y = 41;
_root.visage2._y = 41;
_root.visage3._y = 41;
_root.visage4._y = 41;
_root.visage5._y = 41;
_root.visage6._y = 41;
_root.visage0._visible = true;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
_root.p = 0;
_root.u = 0;
if (_root.money < 100) {
_root.boutonrouge._visible = true;
} else {
_root.boutonrouge._visible = false;
}
Instance of Symbol 17 MovieClip in Frame 350
onClipEvent (enterFrame) {
if (_root.p == 0) {
_root.changevideo = 0;
_root.q = random(70);
_root.r = _root.q + 140;
_root.p = _root.p + 1;
} else if ((_root.p == _root.r) and (_root.changevideo == 0)) {
_root.changevideo = 1;
_root.p = 0;
} else {
_root.p = _root.p + 1;
}
}
onClipEvent (enterFrame) {
if (((_root.changevideo == 1) and (_root.mouvement == 0)) and (_root.q < 35)) {
_root.animmvt1bas._x = 500;
_root.animmvt2bas._x = 500;
_root.animmvt3bas._x = 500;
_root.animmvt4bas._x = 500;
_root.animstripbas._x = 250;
_root.animmvt1bas.gotoAndStop(1);
_root.animmvt2bas.gotoAndStop(1);
_root.animmvt3bas.gotoAndStop(1);
_root.animmvt4bas.gotoAndStop(1);
_root.mouvement = 1;
} else if (((_root.changevideo == 1) and (_root.mouvement == 0)) and (_root.q > 34)) {
_root.animmvt1bas._x = 500;
_root.animmvt2bas._x = 500;
_root.animmvt3bas._x = 500;
_root.animmvt4bas._x = 500;
_root.animstripbas._x = 250;
_root.animmvt1bas.gotoAndStop(1);
_root.animmvt2bas.gotoAndStop(1);
_root.animmvt3bas.gotoAndStop(1);
_root.animmvt4bas.gotoAndStop(1);
_root.mouvement = 3;
} else if ((_root.changevideo == 1) and (_root.mouvement == 1)) {
_root.animmvt1bas._x = 250;
_root.animmvt2bas._x = 500;
_root.animmvt3bas._x = 500;
_root.animmvt4bas._x = 500;
_root.animstripbas._x = 500;
_root.animmvt1bas.play();
_root.mouvement = 2;
} else if ((_root.changevideo == 1) and (_root.mouvement == 3)) {
_root.animmvt1bas._x = 500;
_root.animmvt2bas._x = 500;
_root.animmvt3bas._x = 250;
_root.animmvt4bas._x = 500;
_root.animstripbas._x = 500;
_root.animmvt3bas.play();
_root.mouvement = 4;
} else if ((_root.changevideo == 1) and (_root.mouvement == 2)) {
_root.animmvt1bas._x = 500;
_root.animmvt2bas._x = 250;
_root.animmvt3bas._x = 500;
_root.animmvt4bas._x = 500;
_root.animstripbas._x = 500;
_root.animmvt2bas.play();
_root.mouvement = 0;
} else if ((_root.changevideo == 1) and (_root.mouvement == 4)) {
_root.animmvt1bas._x = 500;
_root.animmvt2bas._x = 500;
_root.animmvt3bas._x = 500;
_root.animmvt4bas._x = 250;
_root.animstripbas._x = 500;
_root.animmvt4bas.play();
_root.mouvement = 0;
}
}
onClipEvent (enterFrame) {
if ((_root.changevideo == 2) and (_root.mouvement == 2)) {
_root.animmvt1bas._x = 500;
_root.animmvt2bas._x = 250;
_root.animmvt3bas._x = 500;
_root.animmvt4bas._x = 500;
_root.animstripbas._x = 500;
_root.animmvt2bas.play();
_root.phase = 7;
} else if ((_root.changevideo == 2) and (_root.mouvement == 4)) {
_root.animmvt1bas._x = 500;
_root.animmvt2bas._x = 500;
_root.animmvt3bas._x = 500;
_root.animmvt4bas._x = 250;
_root.animstripbas._x = 500;
_root.animmvt4bas.play();
_root.phase = 7;
} else if (((_root.changevideo == 2) and (_root.mouvement != 2)) and (_root.mouvement != 4)) {
_root.changevideo = 3;
_root.phase = 7;
}
}
onClipEvent (enterFrame) {
if (_root.changevideo == 3) {
_root.animmvt1bas._x = 500;
_root.animmvt2bas._x = 500;
_root.animmvt3bas._x = 500;
_root.animmvt4bas._x = 500;
_root.animstripbas._x = 250;
_root.animstripbas.play();
_root.mouvement = 0;
}
}
onClipEvent (enterFrame) {
if (_root.u == 0) {
_root.v = random(7);
_root.w = random(40);
_root.ww = _root.w + 30;
_root.u = _root.u + 1;
} else if ((_root.u == _root.ww) and (_root.changevideo < 2)) {
_root.changeimage = _root.v;
_root.u = 0;
} else {
_root.u = _root.u + 1;
}
}
onClipEvent (enterFrame) {
if (_root.changeimage == 0) {
_root.visage0._visible = true;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 1) {
_root.visage0._visible = false;
_root.visage1._visible = true;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 2) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = true;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 3) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = true;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 4) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = true;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 5) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = true;
_root.visage6._visible = false;
} else if (_root.changeimage == 6) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = true;
} else if (_root.changeimage == 9) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else {
_root.visage0._visible = true;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
}
}
Instance of Symbol 101 MovieClip in Frame 350
onClipEvent (load) {
i = _root.oldi;
j = _root.oldj;
k = _root.oldk;
}
onClipEvent (enterFrame) {
if (_root.e < _root.t1) {
_root.e = _root.e + 1;
}
if ((_root.e < _root.t1) and (_root.cadran1 == 1)) {
i = i + 1;
}
if (_root.f < _root.t2) {
_root.f = _root.f + 1;
}
if ((_root.f < _root.t2) and (_root.cadran2 == 1)) {
j = j + 1;
}
if (_root.g < _root.t3) {
_root.g = _root.g + 1;
}
if ((_root.g < _root.t3) and (_root.cadran3 == 1)) {
k = k + 1;
}
if (i == 7) {
i = 1;
}
if (j == 7) {
j = 1;
}
if (k == 7) {
k = 1;
}
}
onClipEvent (enterFrame) {
if (i == 1) {
_root.f11._visible = true;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 2) {
_root.f11._visible = false;
_root.f12._visible = true;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 3) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = true;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 4) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = true;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 5) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = true;
_root.f16._visible = false;
} else if (i == 6) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = true;
}
if (j == 1) {
_root.f21._visible = true;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 2) {
_root.f21._visible = false;
_root.f22._visible = true;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 3) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = true;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 4) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = true;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 5) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = true;
_root.f26._visible = false;
} else if (j == 6) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = true;
}
if (k == 1) {
_root.f31._visible = true;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 2) {
_root.f31._visible = false;
_root.f32._visible = true;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 3) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = true;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 4) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = true;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 5) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = true;
_root.f36._visible = false;
} else if (k == 6) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.phase == 0) {
_root.choixpossible = 0;
_root.cadran1 = 1;
_root.cadran2 = 1;
_root.cadran3 = 1;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
if ((((_root.e < _root.t1) and (_root.f < _root.t2)) and (_root.g < _root.t3)) and (_root.phase == 0)) {
_root.phase = 1;
}
if (_root.phase == 1) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
if ((((_root.e == _root.t1) and (_root.f == _root.t2)) and (_root.g == _root.t3)) and (_root.phase == 1)) {
_root.phase = 2;
}
if (_root.phase == 2) {
_root.choixpossible = 1;
if (_root.cadran1 == 1) {
_root.n1._visible = false;
_root.v1._visible = true;
_root.r1._visible = false;
} else if (_root.cadran1 == 0) {
_root.n1._visible = false;
_root.v1._visible = false;
_root.r1._visible = true;
}
if (_root.cadran2 == 1) {
_root.n2._visible = false;
_root.v2._visible = true;
_root.r2._visible = false;
} else if (_root.cadran2 == 0) {
_root.n2._visible = false;
_root.v2._visible = false;
_root.r2._visible = true;
}
if (_root.cadran3 == 1) {
_root.n3._visible = false;
_root.v3._visible = true;
_root.r3._visible = false;
} else if (_root.cadran3 == 0) {
_root.n3._visible = false;
_root.v3._visible = false;
_root.r3._visible = true;
}
}
if ((((_root.e < _root.t1) and (_root.f < _root.t2)) and (_root.g < _root.t3)) and (_root.phase == 2)) {
_root.phase = 3;
}
if (_root.phase == 3) {
_root.choixpossible = 0;
if (_root.cadran1 == 1) {
_root.n1._visible = false;
_root.v1._visible = true;
_root.r1._visible = false;
} else if (_root.cadran1 == 0) {
_root.n1._visible = false;
_root.v1._visible = false;
_root.r1._visible = true;
}
if (_root.cadran2 == 1) {
_root.n2._visible = false;
_root.v2._visible = true;
_root.r2._visible = false;
} else if (_root.cadran2 == 0) {
_root.n2._visible = false;
_root.v2._visible = false;
_root.r2._visible = true;
}
if (_root.cadran3 == 1) {
_root.n3._visible = false;
_root.v3._visible = true;
_root.r3._visible = false;
} else if (_root.cadran3 == 0) {
_root.n3._visible = false;
_root.v3._visible = false;
_root.r3._visible = true;
}
}
if ((((_root.e == _root.t1) and (_root.f == _root.t2)) and (_root.g == _root.t3)) and (_root.phase == 3)) {
_root.phase = 4;
}
if (_root.phase == 4) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
}
onClipEvent (enterFrame) {
if (((i == 4) and (j == 4)) and (k == 4)) {
_root.gain = 1;
} else if (((i == 2) and (j == 2)) and (k == 2)) {
_root.gain = 2;
} else if (((i == 3) and (j == 3)) and (k == 3)) {
_root.gain = 3;
} else if ((i == 6) and (j == 6)) {
_root.gain = 4;
} else if ((i == 6) and (k == 6)) {
_root.gain = 4;
} else if ((j == 6) and (k == 6)) {
_root.gain = 4;
} else if ((i == 5) and (j == 5)) {
_root.gain = 5;
} else if ((i == 5) and (k == 5)) {
_root.gain = 5;
} else if ((j == 5) and (k == 5)) {
_root.gain = 5;
} else if ((i == 1) and (j == 1)) {
_root.gain = 6;
} else if ((i == 1) and (k == 1)) {
_root.gain = 6;
} else if ((j == 1) and (k == 1)) {
_root.gain = 6;
} else {
_root.gain = 0;
}
}
onClipEvent (enterFrame) {
if ((_root.phase == 2) and (_root.gain > 0)) {
_root.phase = 5;
}
if (_root.phase == 4) {
_root.phase = 5;
}
if ((_root.phase == 5) and (_root.gain == 1)) {
_root.dollars = _root.dollars + 100;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 2)) {
_root.dollars = _root.dollars + 60;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 3)) {
_root.dollars = _root.dollars + 40;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 4)) {
_root.dollars = _root.dollars + 15;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 5)) {
_root.dollars = _root.dollars + 10;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 6)) {
_root.dollars = _root.dollars + 5;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 0)) {
_root.dollars = _root.dollars + 0;
_root.lightgain._visible = false;
_root.phase = 6;
}
if (_root.phase == 6) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
_root.pay._visible = true;
}
if (_root.phase == 7) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
_root.pay._visible = true;
_root.oldi = i;
_root.oldj = j;
_root.oldk = k;
}
_root.money = _root.dollars;
if (_root.money < 100) {
_root.boutonrouge._visible = true;
} else {
_root.boutonrouge._visible = false;
}
}
Instance of Symbol 148 MovieClip "boutonrouge" in Frame 350
onClipEvent (load) {
if (_root.langue == 0) {
_root.textebouton = "buy";
} else if (_root.langue == 1) {
_root.textebouton = "acheter";
}
}
Instance of Symbol 53 MovieClip in Frame 350
onClipEvent (load) {
son1 = new Sound();
son1.attachSound("coin");
son2 = new Sound();
son2.attachSound("tourne");
son3 = new Sound();
son3.attachSound("stop");
son4 = new Sound();
son4.attachSound("gagne");
son5 = new Sound();
son5.attachSound("bloque");
_root.sonpossible = 0;
}
onClipEvent (enterFrame) {
if ((_root.phase == 0) and (_root.sonpossible == 0)) {
son2.stop("tourne");
son3.stop("stop");
son4.stop("gagne");
son5.stop("bloque");
son1.start("coin");
_root.sonpossible = 1;
}
if ((_root.phase == 1) and (_root.sonpossible == 1)) {
son1.stop("coin");
son3.stop("stop");
son4.stop("gagne");
son5.stop("bloque");
son2.start("tourne");
_root.sonpossible = 2;
}
if ((_root.phase == 2) and (_root.sonpossible == 2)) {
son1.stop("coin");
son2.stop("tourne");
son4.stop("gagne");
son5.stop("bloque");
son3.start("stop");
_root.sonpossible = 3;
}
if ((_root.phase == 3) and (_root.sonpossible == 3)) {
son1.stop("coin");
son3.stop("stop");
son4.stop("gagne");
son5.stop("bloque");
son2.start("tourne");
_root.sonpossible = 2;
}
if ((_root.phase == 6) and (_root.sonpossible == 2)) {
son1.stop("coin");
son2.stop("tourne");
son4.stop("gagne");
son5.stop("bloque");
son3.start("stop");
_root.sonpossible = 4;
}
if (((_root.phase == 6) and (_root.sonpossible == 4)) and (_root.gain > 0)) {
son1.stop("coin");
son2.stop("tourne");
son3.stop("stop");
son5.stop("bloque");
son4.start("gagne");
_root.sonpossible = 0;
}
if (((_root.phase == 6) and (_root.sonpossible == 4)) and (_root.gain == 0)) {
_root.sonpossible = 0;
}
if (_root.soncadran == 1) {
son1.stop("coin");
son2.stop("tourne");
son3.stop("stop");
son4.stop("gagne");
son5.start("bloque");
_root.soncadran = 0;
}
}
Frame 351
prevFrame();
Frame 352
if (_root.oldi == 1) {
_root.f11._visible = true;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 2) {
_root.f11._visible = false;
_root.f12._visible = true;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 3) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = true;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 4) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = true;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 5) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = true;
_root.f16._visible = false;
} else if (_root.oldi == 6) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = true;
}
if (_root.oldj == 1) {
_root.f21._visible = true;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 2) {
_root.f21._visible = false;
_root.f22._visible = true;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 3) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = true;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 4) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = true;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 5) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = true;
_root.f26._visible = false;
} else if (_root.oldj == 6) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = true;
}
if (_root.oldk == 1) {
_root.f31._visible = true;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 2) {
_root.f31._visible = false;
_root.f32._visible = true;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 3) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = true;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 4) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = true;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 5) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = true;
_root.f36._visible = false;
} else if (_root.oldk == 6) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = true;
}
stop();
_root.coup = 0;
_root.phase = 0;
_root.choixpossible = 0;
_root.cadran1 = 1;
_root.cadran2 = 1;
_root.cadran3 = 1;
_root.mouvement = 0;
_root.lightgain._visible = false;
_root.msg1._visible = false;
_root.msg2._visible = false;
_root.changevideo = 0;
_root.animstripsout.stop();
_root.animstripsout._x = 250;
_root.animstripsout._y = 40;
_root.animmvt1sout.stop();
_root.animmvt1sout._x = 500;
_root.animmvt1sout._y = 40;
_root.animmvt2sout.stop();
_root.animmvt2sout._x = 500;
_root.animmvt2sout._y = 40;
_root.animmvt3sout.stop();
_root.animmvt3sout._x = 500;
_root.animmvt3sout._y = 40;
_root.animmvt4sout.stop();
_root.animmvt4sout._x = 500;
_root.animmvt4sout._y = 40;
_root.visage0._x = 301;
_root.visage1._x = 301;
_root.visage2._x = 301;
_root.visage3._x = 301;
_root.visage4._x = 301;
_root.visage5._x = 301;
_root.visage6._x = 301;
_root.visage0._y = 41;
_root.visage1._y = 41;
_root.visage2._y = 41;
_root.visage3._y = 41;
_root.visage4._y = 41;
_root.visage5._y = 41;
_root.visage6._y = 41;
_root.visage0._visible = true;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
_root.p = 0;
_root.u = 0;
if (_root.money < 100) {
_root.boutonrouge._visible = true;
} else {
_root.boutonrouge._visible = false;
}
Instance of Symbol 17 MovieClip in Frame 352
onClipEvent (enterFrame) {
if (_root.p == 0) {
_root.changevideo = 0;
_root.q = random(70);
_root.r = _root.q + 140;
_root.p = _root.p + 1;
} else if ((_root.p == _root.r) and (_root.changevideo == 0)) {
_root.changevideo = 1;
_root.p = 0;
} else {
_root.p = _root.p + 1;
}
}
onClipEvent (enterFrame) {
if (((_root.changevideo == 1) and (_root.mouvement == 0)) and (_root.q < 35)) {
_root.animmvt1sout._x = 500;
_root.animmvt2sout._x = 500;
_root.animmvt3sout._x = 500;
_root.animmvt4sout._x = 500;
_root.animstripsout._x = 250;
_root.animmvt1sout.gotoAndStop(1);
_root.animmvt2sout.gotoAndStop(1);
_root.animmvt3sout.gotoAndStop(1);
_root.animmvt4sout.gotoAndStop(1);
_root.mouvement = 1;
} else if (((_root.changevideo == 1) and (_root.mouvement == 0)) and (_root.q > 34)) {
_root.animmvt1sout._x = 500;
_root.animmvt2sout._x = 500;
_root.animmvt3sout._x = 500;
_root.animmvt4sout._x = 500;
_root.animstripsout._x = 250;
_root.animmvt1sout.gotoAndStop(1);
_root.animmvt2sout.gotoAndStop(1);
_root.animmvt3sout.gotoAndStop(1);
_root.animmvt4sout.gotoAndStop(1);
_root.mouvement = 3;
} else if ((_root.changevideo == 1) and (_root.mouvement == 1)) {
_root.animmvt1sout._x = 250;
_root.animmvt2sout._x = 500;
_root.animmvt3sout._x = 500;
_root.animmvt4sout._x = 500;
_root.animstripsout._x = 500;
_root.animmvt1sout.play();
_root.mouvement = 2;
} else if ((_root.changevideo == 1) and (_root.mouvement == 3)) {
_root.animmvt1sout._x = 500;
_root.animmvt2sout._x = 500;
_root.animmvt3sout._x = 250;
_root.animmvt4sout._x = 500;
_root.animstripsout._x = 500;
_root.animmvt3sout.play();
_root.mouvement = 4;
} else if ((_root.changevideo == 1) and (_root.mouvement == 2)) {
_root.animmvt1sout._x = 500;
_root.animmvt2sout._x = 250;
_root.animmvt3sout._x = 500;
_root.animmvt4sout._x = 500;
_root.animstripsout._x = 500;
_root.animmvt2sout.play();
_root.mouvement = 0;
} else if ((_root.changevideo == 1) and (_root.mouvement == 4)) {
_root.animmvt1sout._x = 500;
_root.animmvt2sout._x = 500;
_root.animmvt3sout._x = 500;
_root.animmvt4sout._x = 250;
_root.animstripsout._x = 500;
_root.animmvt4sout.play();
_root.mouvement = 0;
}
}
onClipEvent (enterFrame) {
if ((_root.changevideo == 2) and (_root.mouvement == 2)) {
_root.animmvt1sout._x = 500;
_root.animmvt2sout._x = 250;
_root.animmvt3sout._x = 500;
_root.animmvt4sout._x = 500;
_root.animstripsout._x = 500;
_root.animmvt2sout.play();
_root.phase = 7;
} else if ((_root.changevideo == 2) and (_root.mouvement == 4)) {
_root.animmvt1sout._x = 500;
_root.animmvt2sout._x = 500;
_root.animmvt3sout._x = 500;
_root.animmvt4sout._x = 250;
_root.animstripsout._x = 500;
_root.animmvt4sout.play();
_root.phase = 7;
} else if (((_root.changevideo == 2) and (_root.mouvement != 2)) and (_root.mouvement != 4)) {
_root.changevideo = 3;
_root.phase = 7;
}
}
onClipEvent (enterFrame) {
if (_root.changevideo == 3) {
_root.animmvt1sout._x = 500;
_root.animmvt2sout._x = 500;
_root.animmvt3sout._x = 500;
_root.animmvt4sout._x = 500;
_root.animstripsout._x = 250;
_root.animstripsout.play();
_root.mouvement = 0;
}
}
onClipEvent (enterFrame) {
if (_root.u == 0) {
_root.v = random(7);
_root.w = random(40);
_root.ww = _root.w + 30;
_root.u = _root.u + 1;
} else if ((_root.u == _root.ww) and (_root.changevideo < 2)) {
_root.changeimage = _root.v;
_root.u = 0;
} else {
_root.u = _root.u + 1;
}
}
onClipEvent (enterFrame) {
if (_root.changeimage == 0) {
_root.visage0._visible = true;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 1) {
_root.visage0._visible = false;
_root.visage1._visible = true;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 2) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = true;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 3) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = true;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 4) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = true;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 5) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = true;
_root.visage6._visible = false;
} else if (_root.changeimage == 6) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = true;
} else if (_root.changeimage == 9) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else {
_root.visage0._visible = true;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
}
}
Instance of Symbol 101 MovieClip in Frame 352
onClipEvent (load) {
i = _root.oldi;
j = _root.oldj;
k = _root.oldk;
}
onClipEvent (enterFrame) {
if (_root.e < _root.t1) {
_root.e = _root.e + 1;
}
if ((_root.e < _root.t1) and (_root.cadran1 == 1)) {
i = i + 1;
}
if (_root.f < _root.t2) {
_root.f = _root.f + 1;
}
if ((_root.f < _root.t2) and (_root.cadran2 == 1)) {
j = j + 1;
}
if (_root.g < _root.t3) {
_root.g = _root.g + 1;
}
if ((_root.g < _root.t3) and (_root.cadran3 == 1)) {
k = k + 1;
}
if (i == 7) {
i = 1;
}
if (j == 7) {
j = 1;
}
if (k == 7) {
k = 1;
}
}
onClipEvent (enterFrame) {
if (i == 1) {
_root.f11._visible = true;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 2) {
_root.f11._visible = false;
_root.f12._visible = true;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 3) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = true;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 4) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = true;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 5) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = true;
_root.f16._visible = false;
} else if (i == 6) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = true;
}
if (j == 1) {
_root.f21._visible = true;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 2) {
_root.f21._visible = false;
_root.f22._visible = true;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 3) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = true;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 4) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = true;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 5) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = true;
_root.f26._visible = false;
} else if (j == 6) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = true;
}
if (k == 1) {
_root.f31._visible = true;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 2) {
_root.f31._visible = false;
_root.f32._visible = true;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 3) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = true;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 4) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = true;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 5) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = true;
_root.f36._visible = false;
} else if (k == 6) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.phase == 0) {
_root.choixpossible = 0;
_root.cadran1 = 1;
_root.cadran2 = 1;
_root.cadran3 = 1;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
if ((((_root.e < _root.t1) and (_root.f < _root.t2)) and (_root.g < _root.t3)) and (_root.phase == 0)) {
_root.phase = 1;
}
if (_root.phase == 1) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
if ((((_root.e == _root.t1) and (_root.f == _root.t2)) and (_root.g == _root.t3)) and (_root.phase == 1)) {
_root.phase = 2;
}
if (_root.phase == 2) {
_root.choixpossible = 1;
if (_root.cadran1 == 1) {
_root.n1._visible = false;
_root.v1._visible = true;
_root.r1._visible = false;
} else if (_root.cadran1 == 0) {
_root.n1._visible = false;
_root.v1._visible = false;
_root.r1._visible = true;
}
if (_root.cadran2 == 1) {
_root.n2._visible = false;
_root.v2._visible = true;
_root.r2._visible = false;
} else if (_root.cadran2 == 0) {
_root.n2._visible = false;
_root.v2._visible = false;
_root.r2._visible = true;
}
if (_root.cadran3 == 1) {
_root.n3._visible = false;
_root.v3._visible = true;
_root.r3._visible = false;
} else if (_root.cadran3 == 0) {
_root.n3._visible = false;
_root.v3._visible = false;
_root.r3._visible = true;
}
}
if ((((_root.e < _root.t1) and (_root.f < _root.t2)) and (_root.g < _root.t3)) and (_root.phase == 2)) {
_root.phase = 3;
}
if (_root.phase == 3) {
_root.choixpossible = 0;
if (_root.cadran1 == 1) {
_root.n1._visible = false;
_root.v1._visible = true;
_root.r1._visible = false;
} else if (_root.cadran1 == 0) {
_root.n1._visible = false;
_root.v1._visible = false;
_root.r1._visible = true;
}
if (_root.cadran2 == 1) {
_root.n2._visible = false;
_root.v2._visible = true;
_root.r2._visible = false;
} else if (_root.cadran2 == 0) {
_root.n2._visible = false;
_root.v2._visible = false;
_root.r2._visible = true;
}
if (_root.cadran3 == 1) {
_root.n3._visible = false;
_root.v3._visible = true;
_root.r3._visible = false;
} else if (_root.cadran3 == 0) {
_root.n3._visible = false;
_root.v3._visible = false;
_root.r3._visible = true;
}
}
if ((((_root.e == _root.t1) and (_root.f == _root.t2)) and (_root.g == _root.t3)) and (_root.phase == 3)) {
_root.phase = 4;
}
if (_root.phase == 4) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
}
onClipEvent (enterFrame) {
if (((i == 4) and (j == 4)) and (k == 4)) {
_root.gain = 1;
} else if (((i == 2) and (j == 2)) and (k == 2)) {
_root.gain = 2;
} else if (((i == 3) and (j == 3)) and (k == 3)) {
_root.gain = 3;
} else if ((i == 6) and (j == 6)) {
_root.gain = 4;
} else if ((i == 6) and (k == 6)) {
_root.gain = 4;
} else if ((j == 6) and (k == 6)) {
_root.gain = 4;
} else if ((i == 5) and (j == 5)) {
_root.gain = 5;
} else if ((i == 5) and (k == 5)) {
_root.gain = 5;
} else if ((j == 5) and (k == 5)) {
_root.gain = 5;
} else if ((i == 1) and (j == 1)) {
_root.gain = 6;
} else if ((i == 1) and (k == 1)) {
_root.gain = 6;
} else if ((j == 1) and (k == 1)) {
_root.gain = 6;
} else {
_root.gain = 0;
}
}
onClipEvent (enterFrame) {
if ((_root.phase == 2) and (_root.gain > 0)) {
_root.phase = 5;
}
if (_root.phase == 4) {
_root.phase = 5;
}
if ((_root.phase == 5) and (_root.gain == 1)) {
_root.dollars = _root.dollars + 100;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 2)) {
_root.dollars = _root.dollars + 60;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 3)) {
_root.dollars = _root.dollars + 40;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 4)) {
_root.dollars = _root.dollars + 15;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 5)) {
_root.dollars = _root.dollars + 10;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 6)) {
_root.dollars = _root.dollars + 5;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 0)) {
_root.dollars = _root.dollars + 0;
_root.lightgain._visible = false;
_root.phase = 6;
}
if (_root.phase == 6) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
_root.pay._visible = true;
}
if (_root.phase == 7) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
_root.pay._visible = true;
_root.oldi = i;
_root.oldj = j;
_root.oldk = k;
}
_root.money = _root.dollars;
if (_root.money < 100) {
_root.boutonrouge._visible = true;
} else {
_root.boutonrouge._visible = false;
}
}
Instance of Symbol 148 MovieClip "boutonrouge" in Frame 352
onClipEvent (load) {
if (_root.langue == 0) {
_root.textebouton = "buy";
} else if (_root.langue == 1) {
_root.textebouton = "acheter";
}
}
Instance of Symbol 53 MovieClip in Frame 352
onClipEvent (load) {
son1 = new Sound();
son1.attachSound("coin");
son2 = new Sound();
son2.attachSound("tourne");
son3 = new Sound();
son3.attachSound("stop");
son4 = new Sound();
son4.attachSound("gagne");
son5 = new Sound();
son5.attachSound("bloque");
_root.sonpossible = 0;
}
onClipEvent (enterFrame) {
if ((_root.phase == 0) and (_root.sonpossible == 0)) {
son2.stop("tourne");
son3.stop("stop");
son4.stop("gagne");
son5.stop("bloque");
son1.start("coin");
_root.sonpossible = 1;
}
if ((_root.phase == 1) and (_root.sonpossible == 1)) {
son1.stop("coin");
son3.stop("stop");
son4.stop("gagne");
son5.stop("bloque");
son2.start("tourne");
_root.sonpossible = 2;
}
if ((_root.phase == 2) and (_root.sonpossible == 2)) {
son1.stop("coin");
son2.stop("tourne");
son4.stop("gagne");
son5.stop("bloque");
son3.start("stop");
_root.sonpossible = 3;
}
if ((_root.phase == 3) and (_root.sonpossible == 3)) {
son1.stop("coin");
son3.stop("stop");
son4.stop("gagne");
son5.stop("bloque");
son2.start("tourne");
_root.sonpossible = 2;
}
if ((_root.phase == 6) and (_root.sonpossible == 2)) {
son1.stop("coin");
son2.stop("tourne");
son4.stop("gagne");
son5.stop("bloque");
son3.start("stop");
_root.sonpossible = 4;
}
if (((_root.phase == 6) and (_root.sonpossible == 4)) and (_root.gain > 0)) {
son1.stop("coin");
son2.stop("tourne");
son3.stop("stop");
son5.stop("bloque");
son4.start("gagne");
_root.sonpossible = 0;
}
if (((_root.phase == 6) and (_root.sonpossible == 4)) and (_root.gain == 0)) {
_root.sonpossible = 0;
}
if (_root.soncadran == 1) {
son1.stop("coin");
son2.stop("tourne");
son3.stop("stop");
son4.stop("gagne");
son5.start("bloque");
_root.soncadran = 0;
}
}
Frame 353
prevFrame();
Frame 354
if (_root.oldi == 1) {
_root.f11._visible = true;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 2) {
_root.f11._visible = false;
_root.f12._visible = true;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 3) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = true;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 4) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = true;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 5) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = true;
_root.f16._visible = false;
} else if (_root.oldi == 6) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = true;
}
if (_root.oldj == 1) {
_root.f21._visible = true;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 2) {
_root.f21._visible = false;
_root.f22._visible = true;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 3) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = true;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 4) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = true;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 5) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = true;
_root.f26._visible = false;
} else if (_root.oldj == 6) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = true;
}
if (_root.oldk == 1) {
_root.f31._visible = true;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 2) {
_root.f31._visible = false;
_root.f32._visible = true;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 3) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = true;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 4) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = true;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 5) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = true;
_root.f36._visible = false;
} else if (_root.oldk == 6) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = true;
}
stop();
_root.coup = 0;
_root.phase = 0;
_root.choixpossible = 0;
_root.cadran1 = 1;
_root.cadran2 = 1;
_root.cadran3 = 1;
_root.mouvement = 0;
_root.lightgain._visible = false;
_root.msg1._visible = false;
_root.msg2._visible = false;
_root.changevideo = 0;
_root.animstripslp.stop();
_root.animstripslp._x = 250;
_root.animstripslp._y = 40;
_root.animmvt1slp.stop();
_root.animmvt1slp._x = 500;
_root.animmvt1slp._y = 40;
_root.animmvt2slp.stop();
_root.animmvt2slp._x = 500;
_root.animmvt2slp._y = 40;
_root.animmvt3slp.stop();
_root.animmvt3slp._x = 500;
_root.animmvt3slp._y = 40;
_root.animmvt4slp.stop();
_root.animmvt4slp._x = 500;
_root.animmvt4slp._y = 40;
_root.visage0._x = 301;
_root.visage1._x = 301;
_root.visage2._x = 301;
_root.visage3._x = 301;
_root.visage4._x = 301;
_root.visage5._x = 301;
_root.visage6._x = 301;
_root.visage0._y = 41;
_root.visage1._y = 41;
_root.visage2._y = 41;
_root.visage3._y = 41;
_root.visage4._y = 41;
_root.visage5._y = 41;
_root.visage6._y = 41;
_root.visage0._visible = true;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
_root.p = 0;
_root.u = 0;
if (_root.money < 100) {
_root.boutonrouge._visible = true;
} else {
_root.boutonrouge._visible = false;
}
Instance of Symbol 17 MovieClip in Frame 354
onClipEvent (enterFrame) {
if (_root.p == 0) {
_root.changevideo = 0;
_root.q = random(70);
_root.r = _root.q + 140;
_root.p = _root.p + 1;
} else if ((_root.p == _root.r) and (_root.changevideo == 0)) {
_root.changevideo = 1;
_root.p = 0;
} else {
_root.p = _root.p + 1;
}
}
onClipEvent (enterFrame) {
if (((_root.changevideo == 1) and (_root.mouvement == 0)) and (_root.q < 35)) {
_root.animmvt1slp._x = 500;
_root.animmvt2slp._x = 500;
_root.animmvt3slp._x = 500;
_root.animmvt4slp._x = 500;
_root.animstripslp._x = 250;
_root.animmvt1slp.gotoAndStop(1);
_root.animmvt2slp.gotoAndStop(1);
_root.animmvt3slp.gotoAndStop(1);
_root.animmvt4slp.gotoAndStop(1);
_root.mouvement = 1;
} else if (((_root.changevideo == 1) and (_root.mouvement == 0)) and (_root.q > 34)) {
_root.animmvt1slp._x = 500;
_root.animmvt2slp._x = 500;
_root.animmvt3slp._x = 500;
_root.animmvt4slp._x = 500;
_root.animstripslp._x = 250;
_root.animmvt1slp.gotoAndStop(1);
_root.animmvt2slp.gotoAndStop(1);
_root.animmvt3slp.gotoAndStop(1);
_root.animmvt4slp.gotoAndStop(1);
_root.mouvement = 3;
} else if ((_root.changevideo == 1) and (_root.mouvement == 1)) {
_root.animmvt1slp._x = 250;
_root.animmvt2slp._x = 500;
_root.animmvt3slp._x = 500;
_root.animmvt4slp._x = 500;
_root.animstripslp._x = 500;
_root.animmvt1slp.play();
_root.mouvement = 2;
} else if ((_root.changevideo == 1) and (_root.mouvement == 3)) {
_root.animmvt1slp._x = 500;
_root.animmvt2slp._x = 500;
_root.animmvt3slp._x = 250;
_root.animmvt4slp._x = 500;
_root.animstripslp._x = 500;
_root.animmvt3slp.play();
_root.mouvement = 4;
} else if ((_root.changevideo == 1) and (_root.mouvement == 2)) {
_root.animmvt1slp._x = 500;
_root.animmvt2slp._x = 250;
_root.animmvt3slp._x = 500;
_root.animmvt4slp._x = 500;
_root.animstripslp._x = 500;
_root.animmvt2slp.play();
_root.mouvement = 0;
} else if ((_root.changevideo == 1) and (_root.mouvement == 4)) {
_root.animmvt1slp._x = 500;
_root.animmvt2slp._x = 500;
_root.animmvt3slp._x = 500;
_root.animmvt4slp._x = 250;
_root.animstripslp._x = 500;
_root.animmvt4slp.play();
_root.mouvement = 0;
}
}
onClipEvent (enterFrame) {
if (_root.u == 0) {
_root.v = random(7);
_root.w = random(40);
_root.ww = _root.w + 30;
_root.u = _root.u + 1;
} else if ((_root.u == _root.ww) and (_root.changevideo < 2)) {
_root.changeimage = _root.v;
_root.u = 0;
} else {
_root.u = _root.u + 1;
}
}
onClipEvent (enterFrame) {
if (_root.changeimage == 0) {
_root.visage0._visible = true;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 1) {
_root.visage0._visible = false;
_root.visage1._visible = true;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 2) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = true;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 3) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = true;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 4) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = true;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.changeimage == 5) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = true;
_root.visage6._visible = false;
} else if (_root.changeimage == 6) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = true;
} else if (_root.changeimage == 9) {
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else {
_root.visage0._visible = true;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
}
}
Instance of Symbol 101 MovieClip in Frame 354
onClipEvent (load) {
i = _root.oldi;
j = _root.oldj;
k = _root.oldk;
}
onClipEvent (enterFrame) {
if (_root.e < _root.t1) {
_root.e = _root.e + 1;
}
if ((_root.e < _root.t1) and (_root.cadran1 == 1)) {
i = i + 1;
}
if (_root.f < _root.t2) {
_root.f = _root.f + 1;
}
if ((_root.f < _root.t2) and (_root.cadran2 == 1)) {
j = j + 1;
}
if (_root.g < _root.t3) {
_root.g = _root.g + 1;
}
if ((_root.g < _root.t3) and (_root.cadran3 == 1)) {
k = k + 1;
}
if (i == 7) {
i = 1;
}
if (j == 7) {
j = 1;
}
if (k == 7) {
k = 1;
}
}
onClipEvent (enterFrame) {
if (i == 1) {
_root.f11._visible = true;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 2) {
_root.f11._visible = false;
_root.f12._visible = true;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 3) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = true;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 4) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = true;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 5) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = true;
_root.f16._visible = false;
} else if (i == 6) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = true;
}
if (j == 1) {
_root.f21._visible = true;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 2) {
_root.f21._visible = false;
_root.f22._visible = true;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 3) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = true;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 4) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = true;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 5) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = true;
_root.f26._visible = false;
} else if (j == 6) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = true;
}
if (k == 1) {
_root.f31._visible = true;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 2) {
_root.f31._visible = false;
_root.f32._visible = true;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 3) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = true;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 4) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = true;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 5) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = true;
_root.f36._visible = false;
} else if (k == 6) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.phase == 0) {
_root.choixpossible = 0;
_root.cadran1 = 1;
_root.cadran2 = 1;
_root.cadran3 = 1;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
if ((((_root.e < _root.t1) and (_root.f < _root.t2)) and (_root.g < _root.t3)) and (_root.phase == 0)) {
_root.phase = 1;
}
if (_root.phase == 1) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
if ((((_root.e == _root.t1) and (_root.f == _root.t2)) and (_root.g == _root.t3)) and (_root.phase == 1)) {
_root.phase = 2;
}
if (_root.phase == 2) {
_root.choixpossible = 1;
if (_root.cadran1 == 1) {
_root.n1._visible = false;
_root.v1._visible = true;
_root.r1._visible = false;
} else if (_root.cadran1 == 0) {
_root.n1._visible = false;
_root.v1._visible = false;
_root.r1._visible = true;
}
if (_root.cadran2 == 1) {
_root.n2._visible = false;
_root.v2._visible = true;
_root.r2._visible = false;
} else if (_root.cadran2 == 0) {
_root.n2._visible = false;
_root.v2._visible = false;
_root.r2._visible = true;
}
if (_root.cadran3 == 1) {
_root.n3._visible = false;
_root.v3._visible = true;
_root.r3._visible = false;
} else if (_root.cadran3 == 0) {
_root.n3._visible = false;
_root.v3._visible = false;
_root.r3._visible = true;
}
}
if ((((_root.e < _root.t1) and (_root.f < _root.t2)) and (_root.g < _root.t3)) and (_root.phase == 2)) {
_root.phase = 3;
}
if (_root.phase == 3) {
_root.choixpossible = 0;
if (_root.cadran1 == 1) {
_root.n1._visible = false;
_root.v1._visible = true;
_root.r1._visible = false;
} else if (_root.cadran1 == 0) {
_root.n1._visible = false;
_root.v1._visible = false;
_root.r1._visible = true;
}
if (_root.cadran2 == 1) {
_root.n2._visible = false;
_root.v2._visible = true;
_root.r2._visible = false;
} else if (_root.cadran2 == 0) {
_root.n2._visible = false;
_root.v2._visible = false;
_root.r2._visible = true;
}
if (_root.cadran3 == 1) {
_root.n3._visible = false;
_root.v3._visible = true;
_root.r3._visible = false;
} else if (_root.cadran3 == 0) {
_root.n3._visible = false;
_root.v3._visible = false;
_root.r3._visible = true;
}
}
if ((((_root.e == _root.t1) and (_root.f == _root.t2)) and (_root.g == _root.t3)) and (_root.phase == 3)) {
_root.phase = 4;
}
if (_root.phase == 4) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
}
onClipEvent (enterFrame) {
if (((i == 4) and (j == 4)) and (k == 4)) {
_root.gain = 1;
} else if (((i == 2) and (j == 2)) and (k == 2)) {
_root.gain = 2;
} else if (((i == 3) and (j == 3)) and (k == 3)) {
_root.gain = 3;
} else if ((i == 6) and (j == 6)) {
_root.gain = 4;
} else if ((i == 6) and (k == 6)) {
_root.gain = 4;
} else if ((j == 6) and (k == 6)) {
_root.gain = 4;
} else if ((i == 5) and (j == 5)) {
_root.gain = 5;
} else if ((i == 5) and (k == 5)) {
_root.gain = 5;
} else if ((j == 5) and (k == 5)) {
_root.gain = 5;
} else if ((i == 1) and (j == 1)) {
_root.gain = 6;
} else if ((i == 1) and (k == 1)) {
_root.gain = 6;
} else if ((j == 1) and (k == 1)) {
_root.gain = 6;
} else {
_root.gain = 0;
}
}
onClipEvent (enterFrame) {
if ((_root.phase == 2) and (_root.gain > 0)) {
_root.phase = 5;
}
if (_root.phase == 4) {
_root.phase = 5;
}
if ((_root.phase == 5) and (_root.gain == 1)) {
_root.dollars = _root.dollars + 100;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 2)) {
_root.dollars = _root.dollars + 60;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 3)) {
_root.dollars = _root.dollars + 40;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 4)) {
_root.dollars = _root.dollars + 15;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 5)) {
_root.dollars = _root.dollars + 10;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 6)) {
_root.dollars = _root.dollars + 5;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 0)) {
_root.dollars = _root.dollars + 0;
_root.lightgain._visible = false;
_root.phase = 6;
}
if (_root.phase == 6) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
_root.pay._visible = true;
}
if (_root.phase == 7) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
_root.pay._visible = true;
_root.oldi = i;
_root.oldj = j;
_root.oldk = k;
}
_root.money = _root.dollars;
if (_root.money < 100) {
_root.boutonrouge._visible = true;
} else {
_root.boutonrouge._visible = false;
}
}
Instance of Symbol 148 MovieClip "boutonrouge" in Frame 354
onClipEvent (load) {
if (_root.langue == 0) {
_root.textebouton = "buy";
} else if (_root.langue == 1) {
_root.textebouton = "acheter";
}
}
Instance of Symbol 53 MovieClip in Frame 354
onClipEvent (load) {
son1 = new Sound();
son1.attachSound("coin");
son2 = new Sound();
son2.attachSound("tourne");
son3 = new Sound();
son3.attachSound("stop");
son4 = new Sound();
son4.attachSound("gagne");
son5 = new Sound();
son5.attachSound("bloque");
_root.sonpossible = 0;
}
onClipEvent (enterFrame) {
if ((_root.phase == 0) and (_root.sonpossible == 0)) {
son2.stop("tourne");
son3.stop("stop");
son4.stop("gagne");
son5.stop("bloque");
son1.start("coin");
_root.sonpossible = 1;
}
if ((_root.phase == 1) and (_root.sonpossible == 1)) {
son1.stop("coin");
son3.stop("stop");
son4.stop("gagne");
son5.stop("bloque");
son2.start("tourne");
_root.sonpossible = 2;
}
if ((_root.phase == 2) and (_root.sonpossible == 2)) {
son1.stop("coin");
son2.stop("tourne");
son4.stop("gagne");
son5.stop("bloque");
son3.start("stop");
_root.sonpossible = 3;
}
if ((_root.phase == 3) and (_root.sonpossible == 3)) {
son1.stop("coin");
son3.stop("stop");
son4.stop("gagne");
son5.stop("bloque");
son2.start("tourne");
_root.sonpossible = 2;
}
if ((_root.phase == 6) and (_root.sonpossible == 2)) {
son1.stop("coin");
son2.stop("tourne");
son4.stop("gagne");
son5.stop("bloque");
son3.start("stop");
_root.sonpossible = 4;
}
if (((_root.phase == 6) and (_root.sonpossible == 4)) and (_root.gain > 0)) {
son1.stop("coin");
son2.stop("tourne");
son3.stop("stop");
son5.stop("bloque");
son4.start("gagne");
_root.sonpossible = 0;
}
if (((_root.phase == 6) and (_root.sonpossible == 4)) and (_root.gain == 0)) {
_root.sonpossible = 0;
}
if (_root.soncadran == 1) {
son1.stop("coin");
son2.stop("tourne");
son3.stop("stop");
son4.stop("gagne");
son5.start("bloque");
_root.soncadran = 0;
}
}
Frame 355
prevFrame();
Frame 356
if (_root.oldi == 1) {
_root.f11._visible = true;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 2) {
_root.f11._visible = false;
_root.f12._visible = true;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 3) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = true;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 4) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = true;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (_root.oldi == 5) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = true;
_root.f16._visible = false;
} else if (_root.oldi == 6) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = true;
}
if (_root.oldj == 1) {
_root.f21._visible = true;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 2) {
_root.f21._visible = false;
_root.f22._visible = true;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 3) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = true;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 4) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = true;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (_root.oldj == 5) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = true;
_root.f26._visible = false;
} else if (_root.oldj == 6) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = true;
}
if (_root.oldk == 1) {
_root.f31._visible = true;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 2) {
_root.f31._visible = false;
_root.f32._visible = true;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 3) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = true;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 4) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = true;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (_root.oldk == 5) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = true;
_root.f36._visible = false;
} else if (_root.oldk == 6) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = true;
}
Instance of Symbol 101 MovieClip in Frame 356
onClipEvent (load) {
i = _root.oldi;
j = _root.oldj;
k = _root.oldk;
}
onClipEvent (enterFrame) {
if (_root.e < _root.t1) {
_root.e = _root.e + 1;
}
if ((_root.e < _root.t1) and (_root.cadran1 == 1)) {
i = i + 1;
}
if (_root.f < _root.t2) {
_root.f = _root.f + 1;
}
if ((_root.f < _root.t2) and (_root.cadran2 == 1)) {
j = j + 1;
}
if (_root.g < _root.t3) {
_root.g = _root.g + 1;
}
if ((_root.g < _root.t3) and (_root.cadran3 == 1)) {
k = k + 1;
}
if (i == 7) {
i = 1;
}
if (j == 7) {
j = 1;
}
if (k == 7) {
k = 1;
}
}
onClipEvent (enterFrame) {
if (i == 1) {
_root.f11._visible = true;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 2) {
_root.f11._visible = false;
_root.f12._visible = true;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 3) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = true;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 4) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = true;
_root.f15._visible = false;
_root.f16._visible = false;
} else if (i == 5) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = true;
_root.f16._visible = false;
} else if (i == 6) {
_root.f11._visible = false;
_root.f12._visible = false;
_root.f13._visible = false;
_root.f14._visible = false;
_root.f15._visible = false;
_root.f16._visible = true;
}
if (j == 1) {
_root.f21._visible = true;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 2) {
_root.f21._visible = false;
_root.f22._visible = true;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 3) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = true;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 4) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = true;
_root.f25._visible = false;
_root.f26._visible = false;
} else if (j == 5) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = true;
_root.f26._visible = false;
} else if (j == 6) {
_root.f21._visible = false;
_root.f22._visible = false;
_root.f23._visible = false;
_root.f24._visible = false;
_root.f25._visible = false;
_root.f26._visible = true;
}
if (k == 1) {
_root.f31._visible = true;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 2) {
_root.f31._visible = false;
_root.f32._visible = true;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 3) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = true;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 4) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = true;
_root.f35._visible = false;
_root.f36._visible = false;
} else if (k == 5) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = true;
_root.f36._visible = false;
} else if (k == 6) {
_root.f31._visible = false;
_root.f32._visible = false;
_root.f33._visible = false;
_root.f34._visible = false;
_root.f35._visible = false;
_root.f36._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.phase == 0) {
_root.choixpossible = 0;
_root.cadran1 = 1;
_root.cadran2 = 1;
_root.cadran3 = 1;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
if ((((_root.e < _root.t1) and (_root.f < _root.t2)) and (_root.g < _root.t3)) and (_root.phase == 0)) {
_root.phase = 1;
}
if (_root.phase == 1) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
if ((((_root.e == _root.t1) and (_root.f == _root.t2)) and (_root.g == _root.t3)) and (_root.phase == 1)) {
_root.phase = 2;
}
if (_root.phase == 2) {
_root.choixpossible = 1;
if (_root.cadran1 == 1) {
_root.n1._visible = false;
_root.v1._visible = true;
_root.r1._visible = false;
} else if (_root.cadran1 == 0) {
_root.n1._visible = false;
_root.v1._visible = false;
_root.r1._visible = true;
}
if (_root.cadran2 == 1) {
_root.n2._visible = false;
_root.v2._visible = true;
_root.r2._visible = false;
} else if (_root.cadran2 == 0) {
_root.n2._visible = false;
_root.v2._visible = false;
_root.r2._visible = true;
}
if (_root.cadran3 == 1) {
_root.n3._visible = false;
_root.v3._visible = true;
_root.r3._visible = false;
} else if (_root.cadran3 == 0) {
_root.n3._visible = false;
_root.v3._visible = false;
_root.r3._visible = true;
}
}
if ((((_root.e < _root.t1) and (_root.f < _root.t2)) and (_root.g < _root.t3)) and (_root.phase == 2)) {
_root.phase = 3;
}
if (_root.phase == 3) {
_root.choixpossible = 0;
if (_root.cadran1 == 1) {
_root.n1._visible = false;
_root.v1._visible = true;
_root.r1._visible = false;
} else if (_root.cadran1 == 0) {
_root.n1._visible = false;
_root.v1._visible = false;
_root.r1._visible = true;
}
if (_root.cadran2 == 1) {
_root.n2._visible = false;
_root.v2._visible = true;
_root.r2._visible = false;
} else if (_root.cadran2 == 0) {
_root.n2._visible = false;
_root.v2._visible = false;
_root.r2._visible = true;
}
if (_root.cadran3 == 1) {
_root.n3._visible = false;
_root.v3._visible = true;
_root.r3._visible = false;
} else if (_root.cadran3 == 0) {
_root.n3._visible = false;
_root.v3._visible = false;
_root.r3._visible = true;
}
}
if ((((_root.e == _root.t1) and (_root.f == _root.t2)) and (_root.g == _root.t3)) and (_root.phase == 3)) {
_root.phase = 4;
}
if (_root.phase == 4) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
}
}
onClipEvent (enterFrame) {
if (((i == 4) and (j == 4)) and (k == 4)) {
_root.gain = 1;
} else if (((i == 2) and (j == 2)) and (k == 2)) {
_root.gain = 2;
} else if (((i == 3) and (j == 3)) and (k == 3)) {
_root.gain = 3;
} else if ((i == 6) and (j == 6)) {
_root.gain = 4;
} else if ((i == 6) and (k == 6)) {
_root.gain = 4;
} else if ((j == 6) and (k == 6)) {
_root.gain = 4;
} else if ((i == 5) and (j == 5)) {
_root.gain = 5;
} else if ((i == 5) and (k == 5)) {
_root.gain = 5;
} else if ((j == 5) and (k == 5)) {
_root.gain = 5;
} else if ((i == 1) and (j == 1)) {
_root.gain = 6;
} else if ((i == 1) and (k == 1)) {
_root.gain = 6;
} else if ((j == 1) and (k == 1)) {
_root.gain = 6;
} else {
_root.gain = 0;
}
}
onClipEvent (enterFrame) {
if ((_root.phase == 2) and (_root.gain > 0)) {
_root.phase = 5;
}
if (_root.phase == 4) {
_root.phase = 5;
}
if ((_root.phase == 5) and (_root.gain == 1)) {
_root.dollars = _root.dollars + 100;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 2)) {
_root.dollars = _root.dollars + 60;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 3)) {
_root.dollars = _root.dollars + 40;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 4)) {
_root.dollars = _root.dollars + 15;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 5)) {
_root.dollars = _root.dollars + 10;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 6)) {
_root.dollars = _root.dollars + 5;
_root.lightgain._visible = true;
_root.phase = 6;
} else if ((_root.phase == 5) and (_root.gain == 0)) {
_root.dollars = _root.dollars + 0;
_root.lightgain._visible = false;
_root.phase = 6;
}
if (_root.phase == 6) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
_root.pay._visible = true;
}
if (_root.phase == 7) {
_root.choixpossible = 0;
_root.n1._visible = true;
_root.v1._visible = false;
_root.r1._visible = false;
_root.n2._visible = true;
_root.v2._visible = false;
_root.r2._visible = false;
_root.n3._visible = true;
_root.v3._visible = false;
_root.r3._visible = false;
_root.pay._visible = true;
_root.oldi = i;
_root.oldj = j;
_root.oldk = k;
}
_root.money = _root.dollars;
if (_root.money < 100) {
_root.boutonrouge._visible = true;
} else {
_root.boutonrouge._visible = false;
}
}
Instance of Symbol 148 MovieClip "boutonrouge" in Frame 356
onClipEvent (load) {
if (_root.langue == 0) {
_root.textebouton = "buy";
} else if (_root.langue == 1) {
_root.textebouton = "acheter";
}
}
Frame 362
gotoAndPlay (382);
Frame 469
_root.level = 5;
Frame 470
if (_root.level == 0) {
_root.culotte._visible = true;
_root.soutif._visible = true;
_root.bas._visible = true;
_root.robe._visible = true;
}
if (_root.level == 1) {
_root.culotte._visible = true;
_root.soutif._visible = true;
_root.bas._visible = true;
_root.robe._visible = false;
}
if (_root.level == 2) {
_root.culotte._visible = true;
_root.soutif._visible = true;
_root.bas._visible = true;
_root.robe._visible = false;
}
if (_root.level == 3) {
_root.culotte._visible = true;
_root.soutif._visible = true;
_root.bas._visible = false;
_root.robe._visible = false;
}
if (_root.level == 4) {
_root.culotte._visible = true;
_root.soutif._visible = false;
_root.bas._visible = false;
_root.robe._visible = false;
}
if (_root.level == 5) {
_root.culotte._visible = false;
_root.soutif._visible = false;
_root.bas._visible = false;
_root.robe._visible = false;
}
Instance of Symbol 148 MovieClip "boutonrouge" in Frame 470
onClipEvent (load) {
if (_root.langue == 0) {
_root.textebouton = "Again";
} else if (_root.langue == 1) {
_root.textebouton = "Rejouer";
}
}
Frame 480
if ((_root.langue == 0) and (_root.level < 5)) {
_root.dial = "Hey, you have no more money to continue to play?";
} else if ((_root.langue == 1) and (_root.level < 5)) {
_root.dial = "He, vous n\u2019avez plus d\u2019argent pour continuer \u00E0 jouer?";
} else if ((_root.langue == 0) and (_root.level > 4)) {
_root.dial = "Congratulations, you have been very lucky, this evening...";
} else if ((_root.langue == 1) and (_root.level > 4)) {
_root.dial = "F\u00E9licitation, vous avez eu beaucoup de chance ce soir...";
}
Frame 532
if ((_root.langue == 0) and (_root.level < 5)) {
_root.dial = "Maybe you will be lucky the next time...";
} else if ((_root.langue == 1) and (_root.level < 5)) {
_root.dial = "Peut-\u00EAtre aurez vous plus de chance la prochaine fois...";
} else if ((_root.langue == 0) and (_root.level > 4)) {
_root.dial = "\u2026 I hope that we shall soon make a new game...";
} else if ((_root.langue == 1) and (_root.level > 4)) {
_root.dial = "J\u2019esp\u00E8re que nous ferons bient\u00F4t une nouvelle partie...";
}
Frame 565
Frame 581
stop();
Frame 582
prevFrame();
Symbol 9 MovieClip Frame 1
_root.bytes_totales = _level0.getBytesTotal();
_root["bytes_charg\u00E9es"] = _level0.getBytesLoaded();
_root.bytes_rapport = Math.round((_root["bytes_charg\u00E9es"] / _root.bytes_totales) * 100);
_root.bytes_chargement_affichage = Math.round(_root.bytes_rapport) add " %";
if (_root.bytes_rapport == 100) {
_root.play();
stop();
}
tellTarget (_root.barre_chargement_bytes) {
gotoAndPlay(_root.bytes_rapport);
};
Symbol 12 MovieClip Frame 1
stop();
Symbol 12 MovieClip Frame 101
stop();
Symbol 22 Button
on (press, release) {
gotoAndStop (2);
}
Symbol 24 Button
on (press, release) {
gotoAndStop (3);
}
Symbol 28 Button
on (release) {
gotoAndPlay (4);
}
Symbol 36 Button
on (release) {
getURL ("http://hornygamer.com/", "_blank");
}
Symbol 38 Button
on (release) {
getURL ("http://hornygamer.com/", "_blank");
}
Symbol 74 Button
on (release) {
gotoAndStop (346);
}
Symbol 106 Button
on (press) {
if ((_root.phase == 0) or (_root.phase == 2)) {
_root.e = 0;
_root.f = 0;
_root.g = 0;
_root.t1 = 10000;
_root.t2 = 10000;
_root.t3 = 10000;
}
}
on (release) {
_root.t1 = 12;
_root.t2 = 14;
_root.t3 = 16;
if ((_root.phase == 1) or (_root.phase == 3)) {
_root.e = 0;
_root.f = 0;
_root.g = 0;
_root.a = random(10);
_root.b = random(9);
_root.c = random(8);
_root.t1 = _root.a + 12;
_root.t2 = _root.b + 14;
_root.t3 = _root.c + 16;
}
}
Symbol 114 Button
on (press) {
if ((_root.choixpossible == 1) and (_root.cadran3 == 0)) {
_root.cadran3 = 1;
_root.soncadran = 1;
} else if ((_root.choixpossible == 1) and (_root.cadran3 == 1)) {
_root.cadran3 = 0;
_root.soncadran = 1;
}
}
Symbol 127 Button
on (press) {
if ((_root.choixpossible == 1) and (_root.cadran1 == 0)) {
_root.cadran1 = 1;
_root.soncadran = 1;
} else if ((_root.choixpossible == 1) and (_root.cadran1 == 1)) {
_root.cadran1 = 0;
_root.soncadran = 1;
}
}
Symbol 128 Button
on (press) {
if ((_root.choixpossible == 1) and (_root.cadran2 == 0)) {
_root.cadran2 = 1;
_root.soncadran = 1;
} else if ((_root.choixpossible == 1) and (_root.cadran2 == 1)) {
_root.cadran2 = 0;
_root.soncadran = 1;
}
}
Symbol 129 Button
on (release) {
if (_root.dollars < 1) {
gotoAndPlay (470);
}
if ((_root.phase == 6) and (_root.dollars > 0)) {
_root.t1 = 0;
_root.t2 = 0;
_root.t3 = 0;
_root.phase = 0;
_root.dollars = _root.dollars - 1;
}
if (_root.changevideo == 4) {
gotoAndStop (348);
}
if (_root.phase == 8) {
_root.dollars = _root.dollars - 1;
}
_root.lightgain._visible = false;
_root.pay._visible = false;
}
Symbol 146 Button
on (press) {
if ((_root.dollars < 100) and (_root.langue == 0)) {
_root.msg1._visible = true;
}
if ((_root.dollars < 100) and (_root.langue == 1)) {
_root.msg2._visible = true;
}
}
on (release) {
if ((_root.dollars > 99) and (_root.changevideo < 2)) {
_root.dollars = _root.dollars - 100;
_root.money = _root.dollars;
_root.changevideo = 2;
_root.changeimage = 9;
_root.visage0._visible = false;
_root.visage1._visible = false;
_root.visage2._visible = false;
_root.visage3._visible = false;
_root.visage4._visible = false;
_root.visage5._visible = false;
_root.visage6._visible = false;
} else if (_root.dollars < 100) {
_root.msg1._visible = false;
_root.msg2._visible = false;
}
}
Symbol 152 MovieClip Frame 8
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 154 MovieClip Frame 8
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 156 MovieClip Frame 7
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 158 MovieClip Frame 7
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 160 MovieClip Frame 95
if (_root.changevideo == 3) {
_root.changevideo = 4;
_root.phase = 8;
}
_root.level = 1;
stop();
Symbol 182 Button
on (release) {
if (_root.dollars < 1) {
gotoAndPlay (470);
}
if ((_root.phase == 6) and (_root.dollars > 0)) {
_root.t1 = 0;
_root.t2 = 0;
_root.t3 = 0;
_root.phase = 0;
_root.dollars = _root.dollars - 1;
}
if (_root.changevideo == 4) {
gotoAndStop (350);
}
if (_root.phase == 8) {
_root.dollars = _root.dollars - 1;
}
_root.lightgain._visible = false;
_root.pay._visible = false;
}
Symbol 188 MovieClip Frame 7
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 190 MovieClip Frame 7
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 192 MovieClip Frame 7
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 194 MovieClip Frame 7
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 196 MovieClip Frame 107
if (_root.changevideo == 3) {
_root.changevideo = 4;
_root.phase = 8;
}
_root.level = 2;
stop();
Symbol 220 Button
on (release) {
if (_root.dollars < 1) {
gotoAndPlay (470);
}
if ((_root.phase == 6) and (_root.dollars > 0)) {
_root.t1 = 0;
_root.t2 = 0;
_root.t3 = 0;
_root.phase = 0;
_root.dollars = _root.dollars - 1;
}
if (_root.changevideo == 4) {
gotoAndStop (352);
}
if (_root.phase == 8) {
_root.dollars = _root.dollars - 1;
}
_root.lightgain._visible = false;
_root.pay._visible = false;
}
Symbol 226 MovieClip Frame 18
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 228 MovieClip Frame 18
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 230 MovieClip Frame 6
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 232 MovieClip Frame 6
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 234 MovieClip Frame 72
if (_root.changevideo == 3) {
_root.changevideo = 4;
_root.phase = 8;
}
_root.level = 3;
stop();
Symbol 237 Button
on (press) {
if ((_root.phase == 0) or (_root.phase == 2)) {
_root.e = 0;
_root.f = 0;
_root.g = 0;
_root.t1 = 10000;
_root.t2 = 10000;
_root.t3 = 10000;
}
}
on (release) {
_root.t1 = 12;
_root.t2 = 14;
_root.t3 = 16;
if ((_root.phase == 1) or (_root.phase == 3)) {
_root.e = 0;
_root.f = 0;
_root.g = 0;
_root.a = random(10);
_root.b = random(9);
_root.c = random(8);
_root.t1 = _root.a + 12;
_root.t2 = _root.b + 14;
_root.t3 = _root.c + 16;
}
}
Symbol 238 Button
on (release) {
if (_root.dollars < 1) {
gotoAndPlay (470);
}
if ((_root.phase == 6) and (_root.dollars > 0)) {
_root.t1 = 0;
_root.t2 = 0;
_root.t3 = 0;
_root.phase = 0;
_root.dollars = _root.dollars - 1;
}
if (_root.changevideo == 4) {
gotoAndStop (354);
}
if (_root.phase == 8) {
_root.dollars = _root.dollars - 1;
}
_root.lightgain._visible = false;
_root.pay._visible = false;
}
Symbol 244 MovieClip Frame 8
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 246 MovieClip Frame 8
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 248 MovieClip Frame 8
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 250 MovieClip Frame 8
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 252 MovieClip Frame 96
if (_root.changevideo == 3) {
_root.changevideo = 4;
_root.phase = 8;
}
_root.level = 4;
stop();
Symbol 255 Button
on (release) {
if (_root.dollars < 1) {
gotoAndPlay (470);
}
if ((_root.phase == 6) and (_root.dollars > 0)) {
_root.t1 = 0;
_root.t2 = 0;
_root.t3 = 0;
_root.phase = 0;
_root.dollars = _root.dollars - 1;
}
if (_root.phase == 8) {
_root.dollars = _root.dollars - 1;
}
_root.lightgain._visible = false;
_root.pay._visible = false;
}
Symbol 257 Button
on (press) {
if ((_root.dollars < 100) and (_root.langue == 0)) {
_root.msg1._visible = true;
}
if ((_root.dollars < 100) and (_root.langue == 1)) {
_root.msg2._visible = true;
}
}
on (release) {
if ((_root.dollars > 99) and (_root.mouvement == 2)) {
_root.dollars = _root.dollars - 100;
_root.money = _root.dollars;
gotoAndPlay (356);
} else if ((_root.dollars > 99) and (_root.mouvement == 4)) {
_root.dollars = _root.dollars - 100;
_root.money = _root.dollars;
gotoAndPlay (363);
} else if (((_root.dollars > 99) and (_root.mouvement != 2)) and (_root.mouvement != 4)) {
_root.dollars = _root.dollars - 100;
_root.money = _root.dollars;
gotoAndPlay (382);
} else if (_root.dollars < 100) {
_root.msg1._visible = false;
_root.msg2._visible = false;
}
}
Symbol 262 MovieClip Frame 19
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 264 MovieClip Frame 22
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 266 MovieClip Frame 7
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}
Symbol 268 MovieClip Frame 7
stop();
if (_root.changevideo == 2) {
_root.changevideo = 3;
}