Frame 1
percentage = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
setProperty(_root.barre, _xscale , (_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_framesloaded >= _totalframes) {
_root.loading = "end";
}
if (_root.endsaut == "fini") {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Frame 4
gotoAndPlay (5);
Frame 5
stop();
Frame 6
pieces = 0;
finscene = 0;
essieu = 0;
siege = 0;
direction = 0;
setProperty("_root.ailedtarget", _alpha , 0);
setProperty("_root.ailegtarget", _alpha , 0);
setProperty("_root.axearrieretarget", _alpha , 0);
setProperty("_root.axeavanttarget", _alpha , 0);
setProperty("_root.axedirectiontarget", _alpha , 0);
setProperty("_root.carrosserietarget", _alpha , 0);
setProperty("_root.fixationdirectiontarget", _alpha , 0);
setProperty("_root.fixationsiegedtarget", _alpha , 0);
setProperty("_root.fixationsiegegtarget", _alpha , 0);
setProperty("_root.parebrisetarget", _alpha , 0);
setProperty("_root.parechoctarget", _alpha , 0);
setProperty("_root.pedaliertarget", _alpha , 0);
setProperty("_root.rouearrieredtarget", _alpha , 0);
setProperty("_root.rouearrieregtarget", _alpha , 0);
setProperty("_root.roueavantdtarget", _alpha , 0);
setProperty("_root.roueavantgtarget", _alpha , 0);
setProperty("_root.siegeassisetarget", _alpha , 0);
setProperty("_root.siegedossiertarget", _alpha , 0);
setProperty("_root.volanttarget", _alpha , 0);
setProperty("_root.ailedtarget", _visible , 0);
setProperty("_root.ailegtarget", _visible , 0);
setProperty("_root.axearrieretarget", _visible , 0);
setProperty("_root.axeavanttarget", _visible , 0);
setProperty("_root.axedirectiontarget", _visible , 0);
setProperty("_root.carrosserietarget", _visible , 0);
setProperty("_root.fixationdirectiontarget", _visible , 0);
setProperty("_root.fixationsiedegtarget", _visible , 0);
setProperty("_root.fixationsiegegtarget", _visible , 0);
setProperty("_root.parebrisetarget", _visible , 0);
setProperty("_root.parechoctarget", _visible , 0);
setProperty("_root.pedaliertarget", _visible , 0);
setProperty("_root.rouearrieredtarget", _visible , 0);
setProperty("_root.rouearrieregtarget", _visible , 0);
setProperty("_root.roueavantdtarget", _visible , 0);
setProperty("_root.roueavantgtarget", _visible , 0);
setProperty("_root.siegeassisetarget", _visible , 0);
setProperty("_root.siegedossiertarget", _visible , 0);
setProperty("_root.volanttarget", _visible , 0);
stop();
Frame 7
stop();
Frame 8
stop();
Symbol 13 MovieClip Frame 30
if (_root.loading == "end") {
_root.endsaut = "fini";
stop();
}
Symbol 20 MovieClip Frame 4
stop();
Symbol 30 Button
on (press, release) {
getURL ("http://www.smurf.com", "_blank");
}
Symbol 32 Button
on (press, release) {
getURL ("http://www.smurf.com", "_blank");
}
Symbol 36 MovieClip Frame 5
stop();
Symbol 45 Button
on (release) {
tellTarget ("_root") {
nextFrame();
};
}
Symbol 46 MovieClip Frame 133
stop();
Symbol 57 Button
on (release) {
gotoAndPlay (6);
}
Symbol 69 Button
on (press) {
startDrag ("_root.ailed", true);
setProperty("_root.carrosserietarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.ailedtarget", _visible , 0);
if ((_root.pieces >= 15) && (_droptarget eq "/carrosserietarget")) {
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.ailed", _x , getProperty(_root.ailedtarget, _x));
setProperty("_root.ailed", _y , getProperty(_root.ailedtarget, _y));
if (_root.pieces < 19) {
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
}
} else {
setProperty("_root.ailed", _x , 445);
setProperty("_root.ailed", _y , 235);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
if (_root.pieces == 19) {
tellTarget ("_root") {
nextFrame();
};
}
}
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 2
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 14
gotoAndPlay (1);
Symbol 84 MovieClip Frame 26
gotoAndPlay (1);
Symbol 86 Button
on (press) {
startDrag ("_root.axearriere", true);
setProperty("_root.axearrieretarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.axearrieretarget", _visible , 0);
if (_droptarget eq "/axearrieretarget") {
_root.essieu = _root.essieu + 1;
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.axearriere", _x , getProperty(_root.axearrieretarget, _x));
setProperty("_root.axearriere", _y , getProperty(_root.axearrieretarget, _y));
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
} else {
setProperty("_root.axearriere", _x , 420);
setProperty("_root.axearriere", _y , 275);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
}
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 2
stop();
Symbol 90 Button
on (press) {
startDrag ("_root.axeavant", true);
setProperty("_root.axeavanttarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.axeavanttarget", _visible , 0);
if (_droptarget eq "/axeavanttarget") {
_root.essieu = _root.essieu + 1;
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.axeavant", _x , getProperty(_root.axeavanttarget, _x));
setProperty("_root.axeavant", _y , getProperty(_root.axeavanttarget, _y));
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
} else {
setProperty("_root.axeavant", _x , 435);
setProperty("_root.axeavant", _y , 20);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
}
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
stop();
Symbol 94 Button
on (press) {
startDrag ("_root.roueavantd", true);
setProperty("_root.roueavantdtarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.roueavantdtarget", _visible , 0);
if ((_root.essieu == 2) && (_droptarget eq "/roueavantdtarget")) {
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.roueavantd", _x , getProperty(_root.roueavantdtarget, _x));
setProperty("_root.roueavantd", _y , getProperty(_root.roueavantdtarget, _y));
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
} else {
setProperty("_root.roueavantd", _x , 333);
setProperty("_root.roueavantd", _y , 266);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
stop();
Symbol 98 Button
on (press) {
startDrag ("_root.rouearriered", true);
setProperty("_root.rouearrieredtarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.rouearrieredtarget", _visible , 0);
if ((_root.essieu == 2) && (_droptarget eq "/rouearrieredtarget")) {
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.rouearriered", _x , getProperty(_root.rouearrieredtarget, _x));
setProperty("_root.rouearriered", _y , getProperty(_root.rouearrieredtarget, _y));
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
} else {
setProperty("_root.rouearriered", _x , 465);
setProperty("_root.rouearriered", _y , 50);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
}
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 2
stop();
Symbol 102 Button
on (press) {
startDrag ("_root.fixationsieged", true);
setProperty("_root.fixationsiegedtarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.fixationsiegedtarget", _visible , 0);
if ((_root.siege == 2) && (_droptarget eq "/fixationsiegedtarget")) {
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.fixationsieged", _x , getProperty(_root.fixationsiegedtarget, _x));
setProperty("_root.fixationsieged", _y , getProperty(_root.fixationsiegedtarget, _y));
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
} else {
setProperty("_root.fixationsieged", _x , 360);
setProperty("_root.fixationsieged", _y , 190);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
}
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 2
stop();
Symbol 105 Button
on (press) {
startDrag ("_root.siegeassise", true);
setProperty("_root.siegeassisetarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.siegeassisetarget", _visible , 0);
if (_droptarget eq "/siegeassisetarget") {
_root.siege = _root.siege + 1;
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.siegeassise", _x , getProperty(_root.siegeassisetarget, _x));
setProperty("_root.siegeassise", _y , getProperty(_root.siegeassisetarget, _y));
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
} else {
setProperty("_root.siegeassise", _x , 465);
setProperty("_root.siegeassise", _y , 260);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
}
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
stop();
Symbol 109 Button
on (press) {
startDrag ("_root.siegedossier", true);
setProperty("_root.siegedossiertarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.siegedossiertarget", _visible , 0);
if ((_root.siege == 1) && (_droptarget eq "/siegedossiertarget")) {
_root.siege = _root.siege + 1;
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.siegedossier", _x , getProperty(_root.siegedossiertarget, _x));
setProperty("_root.siegedossier", _y , getProperty(_root.siegedossiertarget, _y));
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
} else {
setProperty("_root.siegedossier", _x , 430);
setProperty("_root.siegedossier", _y , 45);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
}
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 2
stop();
Symbol 113 Button
on (press) {
startDrag ("_root.fixationsiegeg", true);
setProperty("_root.fixationsiegegtarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.fixationsiegegtarget", _visible , 0);
if ((_root.siege == 2) && (_droptarget eq "/fixationsiegegtarget")) {
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.fixationsiegeg", _x , getProperty(_root.fixationsiegegtarget, _x));
setProperty("_root.fixationsiegeg", _y , getProperty(_root.fixationsiegegtarget, _y));
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
} else {
setProperty("_root.fixationsiegeg", _x , 365);
setProperty("_root.fixationsiegeg", _y , 270);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
}
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 2
stop();
Symbol 117 Button
on (press) {
startDrag ("_root.volant", true);
setProperty("_root.volanttarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.volanttarget", _visible , 0);
if ((_root.direction == 2) && (_droptarget eq "/volanttarget")) {
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.volant", _x , getProperty(_root.volanttarget, _x));
setProperty("_root.volant", _y , getProperty(_root.volanttarget, _y));
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
} else {
setProperty("_root.volant", _x , 395);
setProperty("_root.volant", _y , 40);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
}
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 2
stop();
Symbol 121 Button
on (press) {
startDrag ("_root.pedalier", true);
setProperty("_root.pedaliertarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.pedaliertarget", _visible , 0);
if (((_root.direction == 1) || (_root.direction == 2)) && (_droptarget eq "/pedaliertarget")) {
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.pedalier", _x , getProperty(_root.pedaliertarget, _x));
setProperty("_root.pedalier", _y , getProperty(_root.pedaliertarget, _y));
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
} else {
setProperty("_root.pedalier", _x , 375);
setProperty("_root.pedalier", _y , 65);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
}
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 2
stop();
Symbol 125 Button
on (press) {
startDrag ("_root.fixationdirection", true);
setProperty("_root.fixationdirectiontarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.fixationdirectiontarget", _visible , 0);
if (_droptarget eq "/fixationdirectiontarget") {
_root.direction = _root.direction + 1;
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.fixationdirection", _x , getProperty(_root.fixationdirectiontarget, _x));
setProperty("_root.fixationdirection", _y , getProperty(_root.fixationdirectiontarget, _y));
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
} else {
setProperty("_root.fixationdirection", _x , 330);
setProperty("_root.fixationdirection", _y , 190);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
}
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 2
stop();
Symbol 129 Button
on (press) {
startDrag ("_root.axedirection", true);
setProperty("_root.axedirectiontarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.axedirectiontarget", _visible , 0);
if ((_root.direction == 1) && (_droptarget eq "/axedirectiontarget")) {
_root.direction = _root.direction + 1;
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.axedirection", _x , getProperty(_root.axedirectiontarget, _x));
setProperty("_root.axedirection", _y , getProperty(_root.axedirectiontarget, _y));
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
} else {
setProperty("_root.axedirection", _x , 460);
setProperty("_root.axedirection", _y , 85);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
}
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 2
stop();
Symbol 133 Button
on (press) {
startDrag ("_root.carrosserie", true);
setProperty("_root.carrosserietarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.carrosserietarget", _visible , 0);
if ((_root.pieces == 14) && (_droptarget eq "/carrosserietarget")) {
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.carrosserie", _x , getProperty(_root.carrosserietarget, _x));
setProperty("_root.carrosserie", _y , getProperty(_root.carrosserietarget, _y));
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
} else {
setProperty("_root.carrosserie", _x , 375);
setProperty("_root.carrosserie", _y , 220);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
}
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 2
stop();
Symbol 141 Button
on (press) {
startDrag ("_root.parebrise", true);
setProperty("_root.parebrisetarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.parebrisetarget", _visible , 0);
if ((_root.pieces >= 15) && (_droptarget eq "/parebrisetarget")) {
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.parebrise", _x , getProperty(_root.parebrisetarget, _x));
setProperty("_root.parebrise", _y , getProperty(_root.parebrisetarget, _y));
if (_root.pieces < 19) {
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
}
} else {
setProperty("_root.parebrise", _x , 345);
setProperty("_root.parebrise", _y , 35);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
if (_root.pieces == 19) {
tellTarget ("_root") {
nextFrame();
};
}
}
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 2
stop();
Symbol 145 Button
on (press) {
startDrag ("_root.roueavantg", true);
setProperty("_root.roueavantgtarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.roueavantgtarget", _visible , 0);
if ((_root.essieu == 2) && (_droptarget eq "/roueavantgtarget")) {
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.roueavantg", _x , getProperty(_root.roueavantgtarget, _x));
setProperty("_root.roueavantg", _y , getProperty(_root.roueavantgtarget, _y));
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
} else {
setProperty("_root.roueavantg", _x , 335);
setProperty("_root.roueavantg", _y , 75);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
}
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 2
stop();
Symbol 149 Button
on (press) {
startDrag ("_root.rouearriereg", true);
setProperty("_root.rouearrieregtarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.rouearrieregtarget", _visible , 0);
if ((_root.essieu == 2) && (_droptarget eq "/rouearrieregtarget")) {
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.rouearriereg", _x , getProperty(_root.rouearrieregtarget, _x));
setProperty("_root.rouearriereg", _y , getProperty(_root.rouearrieregtarget, _y));
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
} else {
setProperty("_root.rouearriereg", _x , 465);
setProperty("_root.rouearriereg", _y , 195);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
}
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 2
stop();
Symbol 154 Button
on (press) {
startDrag ("_root.aileg", true);
setProperty("_root.ailegtarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.ailegtarget", _visible , 0);
if ((_root.pieces >= 15) && (_droptarget eq "/ailegtarget")) {
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.aileg", _x , getProperty(_root.ailegtarget, _x));
setProperty("_root.aileg", _y , getProperty(_root.ailegtarget, _y));
if (_root.pieces < 19) {
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
}
} else {
setProperty("_root.aileg", _x , 395);
setProperty("_root.aileg", _y , 85);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
if (_root.pieces == 19) {
tellTarget ("_root") {
nextFrame();
};
}
}
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
stop();
Symbol 158 Button
on (press) {
startDrag ("_root.parechoc", true);
setProperty("_root.parechoctarget", _visible , 1);
}
on (release, releaseOutside) {
stopDrag();
setProperty("_root.parechoctarget", _visible , 0);
if ((_root.pieces >= 15) && (_droptarget eq "/parechoctarget")) {
_root.pieces = _root.pieces + 1;
nextFrame();
setProperty("_root.parechoc", _x , getProperty(_root.parechoctarget, _x));
setProperty("_root.parechoc", _y , getProperty(_root.parechoctarget, _y));
if (_root.pieces < 19) {
tellTarget ("_root.mecanicien") {
gotoAndPlay (2);
};
}
} else {
setProperty("_root.parechoc", _x , 440);
setProperty("_root.parechoc", _y , 110);
tellTarget ("_root.mecanicien") {
gotoAndPlay (15);
};
}
if (_root.pieces == 19) {
tellTarget ("_root") {
nextFrame();
};
}
}
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 2
stop();
Symbol 210 MovieClip Frame 13
_root.finvroom = "1";
stop();
Symbol 211 MovieClip Frame 39
tellTarget ("_root") {
nextFrame();
};
Symbol 214 Button
on (release) {
gotoAndPlay (6);
}
Symbol 216 Button
on (press, release) {
getURL ("http://www.smurf.com", "_blank");
}