Frame 2
stop();
Frame 3
stop();
Frame 9
stop();
dx1 = 0;
dy1 = 0;
dx2 = 0;
dy2 = 0;
dx3 = 0;
dy3 = 0;
dx4 = 0;
dy4 = 0;
_root.centiemes = 0;
_root.secondes = 0;
_root.perdu._visible = false;
Instance of Symbol 48 MovieClip "player" in Frame 9
onClipEvent (mouseDown) {
if (_root._currentframe == 9) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (!_root.limite.hittest(_root.player)) {
_root.gotoandstop("rlose");
}
if (_root.obstacle1.hittest(_root.player)) {
_root.gotoandstop("rlose");
}
if (_root.obstacle2.hittest(_root.player)) {
_root.gotoandstop("rlose");
}
if (_root.obstacle3.hittest(_root.player)) {
_root.gotoandstop("rlose");
}
if (_root.obstacle4.hittest(_root.player)) {
_root.gotoandstop("rlose");
}
}
Frame 10
stop();
dx1 = 10.8;
dy1 = 5.4;
dx2 = -7.2;
dy2 = 9;
dx3 = 3.6;
dy3 = -10.8;
dx4 = -5.4;
dy4 = -9;
Instance of Symbol 59 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root._currentframe == 10) {
if (_root.centiemes == 95) {
_root.secondes = _root.secondes + 1;
_root.centiemes = 0;
} else {
_root.centiemes = _root.centiemes + 5;
}
if (_root.centiemes == 5) {
_root.time = _root.secondes + ":05";
} else {
_root.time = (_root.secondes + ":") + _root.centiemes;
}
if ((_root.centiemes == 0) and ((((((_root.secondes == 5) or (_root.secondes == 10)) or (_root.secondes == 15)) or (_root.secondes == 20)) or (_root.secondes == 25)) or (_root.secondes == 30))) {
_root.dx1 = 1.2 * _root.dx1;
_root.dy1 = 1.2 * _root.dy1;
_root.dx2 = 1.2 * _root.dx2;
_root.dy2 = 1.2 * _root.dy2;
_root.dx3 = 1.2 * _root.dx3;
_root.dy3 = 1.2 * _root.dy3;
_root.dx4 = 1.2 * _root.dx4;
_root.dy4 = 1.2 * _root.dy4;
}
}
}
Instance of Symbol 60 MovieClip "obstacle1" in Frame 10
onClipEvent (enterFrame) {
if (!_root.rebond.hittest(_root.obstacle1._x, 100, true)) {
_root.dx1 = -_root.dx1;
}
if (!_root.rebond.hittest(100, _root.obstacle1._y, true)) {
_root.dy1 = -_root.dy1;
}
_root.obstacle1._x = _root.obstacle1._x + _root.dx1;
_root.obstacle1._y = _root.obstacle1._y + _root.dy1;
}
Instance of Symbol 61 MovieClip "obstacle2" in Frame 10
onClipEvent (enterFrame) {
if (!_root.rebond.hittest(_root.obstacle2._x, 100, true)) {
_root.dx2 = -_root.dx2;
}
if (!_root.rebond.hittest(100, _root.obstacle2._y, true)) {
_root.dy2 = -_root.dy2;
}
_root.obstacle2._x = _root.obstacle2._x + _root.dx2;
_root.obstacle2._y = _root.obstacle2._y + _root.dy2;
}
Instance of Symbol 62 MovieClip "obstacle3" in Frame 10
onClipEvent (enterFrame) {
if (!_root.rebond.hittest(_root.obstacle3._x, 100, true)) {
_root.dx3 = -_root.dx3;
}
if (!_root.rebond.hittest(100, _root.obstacle3._y, true)) {
_root.dy3 = -_root.dy3;
}
_root.obstacle3._x = _root.obstacle3._x + _root.dx3;
_root.obstacle3._y = _root.obstacle3._y + _root.dy3;
}
Instance of Symbol 63 MovieClip "obstacle4" in Frame 10
onClipEvent (enterFrame) {
if (!_root.rebond.hittest(_root.obstacle4._x, 100, true)) {
_root.dx4 = -_root.dx4;
}
if (!_root.rebond.hittest(100, _root.obstacle4._y, true)) {
_root.dy4 = -_root.dy4;
}
_root.obstacle4._x = _root.obstacle4._x + _root.dx4;
_root.obstacle4._y = _root.obstacle4._y + _root.dy4;
}
Frame 11
stop();
dx1 = 0;
dy1 = 0;
dx2 = 0;
dy2 = 0;
dx3 = 0;
dy3 = 0;
dx4 = 0;
dy4 = 0;
_root.perdu._visible = true;
_root.timer.Stop();
_root.player.stopDrag();
Frame 13
stop();
dx1 = 0;
dy1 = 0;
dx2 = 0;
dy2 = 0;
dx3 = 0;
dy3 = 0;
dx4 = 0;
dy4 = 0;
_root.centiemes = 0;
_root.secondes = 0;
_root.perdu._visible = false;
Instance of Symbol 64 MovieClip "player" in Frame 13
onClipEvent (mouseDown) {
if (_root._currentframe == 13) {
_root.play();
}
}
onClipEvent (enterFrame) {
if (!_root.limite.hittest(_root.player)) {
_root.gotoandstop("hlose");
}
if (_root.obstacle1.hittest(_root.player)) {
_root.gotoandstop("hlose");
}
if (_root.obstacle2.hittest(_root.player)) {
_root.gotoandstop("hlose");
}
if (_root.obstacle3.hittest(_root.player)) {
_root.gotoandstop("hlose");
}
if (_root.obstacle4.hittest(_root.player)) {
_root.gotoandstop("hlose");
}
}
Frame 14
stop();
dx1 = (0.9 * random(18000)) / 1000;
dy1 = 0.9 * (18 - dx1);
dx2 = (-0.9 * random(18000)) / 1000;
dy2 = 0.9 * (18 + dx2);
dx3 = (0.9 * random(18000)) / 1000;
dy3 = 0.9 * (-18 + dx3);
dx4 = (-0.9 * random(18000)) / 1000;
dy4 = 0.9 * (-18 - dx4);
Instance of Symbol 68 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root._currentframe == 14) {
if (_root.centiemes == 95) {
_root.secondes = _root.secondes + 1;
_root.centiemes = 0;
} else {
_root.centiemes = _root.centiemes + 5;
}
if (_root.centiemes == 5) {
_root.time = _root.secondes + ":05";
} else {
_root.time = (_root.secondes + ":") + _root.centiemes;
}
if ((_root.centiemes == 0) and ((((((_root.secondes == 5) or (_root.secondes == 10)) or (_root.secondes == 15)) or (_root.secondes == 20)) or (_root.secondes == 25)) or (_root.secondes == 30))) {
_root.dx1 = 1.2 * _root.dx1;
_root.dy1 = 1.2 * _root.dy1;
_root.dx2 = 1.2 * _root.dx2;
_root.dy2 = 1.2 * _root.dy2;
_root.dx3 = 1.2 * _root.dx3;
_root.dy3 = 1.2 * _root.dy3;
_root.dx4 = 1.2 * _root.dx4;
_root.dy4 = 1.2 * _root.dy4;
}
}
}
Instance of Symbol 60 MovieClip "obstacle1" in Frame 14
onClipEvent (enterFrame) {
if (!_root.rebond.hittest(_root.obstacle1._x, 100, true)) {
_root.dx1 = -_root.dx1;
}
if (!_root.rebond.hittest(100, _root.obstacle1._y, true)) {
_root.dy1 = -_root.dy1;
}
_root.obstacle1._x = _root.obstacle1._x + _root.dx1;
_root.obstacle1._y = _root.obstacle1._y + _root.dy1;
}
Instance of Symbol 61 MovieClip "obstacle2" in Frame 14
onClipEvent (enterFrame) {
if (!_root.rebond.hittest(_root.obstacle2._x, 100, true)) {
_root.dx2 = -_root.dx2;
}
if (!_root.rebond.hittest(100, _root.obstacle2._y, true)) {
_root.dy2 = -_root.dy2;
}
_root.obstacle2._x = _root.obstacle2._x + _root.dx2;
_root.obstacle2._y = _root.obstacle2._y + _root.dy2;
}
Instance of Symbol 62 MovieClip "obstacle3" in Frame 14
onClipEvent (enterFrame) {
if (!_root.rebond.hittest(_root.obstacle3._x, 100, true)) {
_root.dx3 = -_root.dx3;
}
if (!_root.rebond.hittest(100, _root.obstacle3._y, true)) {
_root.dy3 = -_root.dy3;
}
_root.obstacle3._x = _root.obstacle3._x + _root.dx3;
_root.obstacle3._y = _root.obstacle3._y + _root.dy3;
}
Instance of Symbol 63 MovieClip "obstacle4" in Frame 14
onClipEvent (enterFrame) {
if (!_root.rebond.hittest(_root.obstacle4._x, 100, true)) {
_root.dx4 = -_root.dx4;
}
if (!_root.rebond.hittest(100, _root.obstacle4._y, true)) {
_root.dy4 = -_root.dy4;
}
_root.obstacle4._x = _root.obstacle4._x + _root.dx4;
_root.obstacle4._y = _root.obstacle4._y + _root.dy4;
}
Frame 15
stop();
dx1 = 0;
dy1 = 0;
dx2 = 0;
dy2 = 0;
dx3 = 0;
dy3 = 0;
dx4 = 0;
dy4 = 0;
_root.perdu._visible = true;
_root.timer.Stop();
_root.player.stopDrag();
Symbol 11 MovieClip Frame 48
_root.maskims_fini = true;
stop();
Symbol 12 MovieClip Frame 2
pourcentage = int(100 * (_root.getbytesloaded() / _root.getbytestotal()));
barre._xscale = pourcentage;
if ((pourcentage == 100) and _root.maskims_fini) {
_root.gotoandplay("debut");
} else {
gotoAndPlay (1);
}
Symbol 23 Button
on (release) {
_root.gotoandplay("record");
}
Symbol 26 Button
on (release) {
_root.gotoandplay("hasard");
}
Symbol 34 Button
on (release) {
_root.gotoandplay("debut");
}
Symbol 47 Button
on (press) {
startDrag ("/player");
}
on (release) {
stopDrag();
}
Symbol 53 Button
on (release) {
_root.gotoandplay("record");
}
Symbol 65 Button
on (release) {
_root.gotoandplay("hasard");
}