Frame 1
_accProps = new Object();
_accProps.silent = true;
stop();
buffer = Math.round((getBytesLoaded() * 100) / getBytesTotal());
this.createEmptyMovieClip("pload", 1);
pload.onEnterFrame = function () {
if (getBytesLoaded() < getBytesTotal()) {
buffer = Math.round((getBytesLoaded() * 100) / getBytesTotal());
bytes_mc.text = buffer + " % compl\u00E9t\u00E9";
} else {
trace("ok");
trace(getBytesTotal());
trace(buffer);
this.removeMovieClip();
gotoAndStop (2);
}
};
Frame 2
stop();
function rollhors(d, e) {
setInterval(decons, 30000, d, e);
}
function decons(a, e) {
_root["etat" + a] = _root["etat" + a] + 1;
if (_root["etat" + a] >= 3) {
_root["etat" + a] = 3;
}
switch (_root["etat" + a]) {
case 1 :
e.gotoAndStop(1);
return;
case 2 :
e.gotoAndStop(2);
return;
case 3 :
e.gotoAndStop(3);
}
}
function reset() {
c = 1;
while (c < 46) {
_root["etat" + c] = 0;
e = tousObj[c].mcNom;
decons(c, e);
c++;
}
}
function mutation() {
etatsalle = ((((((((((((((((((etat1 + etat2) + etat3) + etat4) + etat5) + etat6) + etat7) + etat8) + etat9) + etat10) + etat11) + etat12) + etat13) + etat14) + etat15) + etat16) + etat17) + etat18) + etat19) + etat20;
switch (true) {
case etatsalle < 35 :
etat25 = 1;
etatmusa = 1;
etatmusb = 1;
MCtoune.gotoAndStop(1);
etatPiece(1);
return;
case etatsalle < 45 :
etat25 = 2;
etatmusa = 2;
etatmusb = 2;
MCtoune.gotoAndStop(2);
etatPiece(2);
return;
case etatsalle < 55 :
etat25 = 3;
etatmusa = 3;
etatmusb = 3;
MCtoune.gotoAndStop(3);
etatPiece(3);
}
}
function mutres() {
switch (true) {
case etatsalle < 15 :
etatres = 1;
MCbreath.gotoAndStop(1);
return;
case etatsalle < 25 :
etatres = 2;
MCbreath.gotoAndStop(2);
return;
case etatsalle < 35 :
etatres = 3;
MCbreath.gotoAndStop(3);
return;
case etatsalle < 45 :
etatres = 4;
MCbreath.gotoAndStop(4);
return;
case etatsalle < 55 :
etatres = 5;
MCbreath.gotoAndStop(5);
}
}
setInterval(mutation, 2000);
setInterval(mutres, 2000);
function variation(x) {
switch (_root["etat" + x]) {
case 1 :
mixer[x][0].attachSound(mixer[x][1]);
break;
case 2 :
mixer[x][0].attachSound(mixer[x][2]);
break;
case 3 :
mixer[x][0].attachSound(mixer[x][3]);
}
mixer[x][0].start();
}
function hasard() {
chiffre2 = Math.random();
pif2 = Math.floor((chiffre2 * 3) + 1);
switch (pif2) {
case 1 :
voix.setPan(-100);
break;
case 2 :
voix.setPan(0);
break;
case 3 :
voix.setPan(100);
}
chiffre = Math.random();
pif = Math.floor((chiffre * 9) + 1);
switch (pif) {
case 1 :
voix.attachSound("random1");
break;
case 2 :
voix.attachSound("random2");
break;
case 3 :
voix.attachSound("random3");
break;
case 4 :
voix.attachSound("random4");
break;
case 5 :
voix.attachSound("random5");
break;
case 6 :
voix.attachSound("random6");
break;
case 7 :
voix.attachSound("random7");
break;
case 8 :
voix.attachSound("random8");
break;
case 9 :
voix.attachSound("random9");
}
voix.start();
}
function claire() {
musiquec.stop();
switch (etatmusa) {
case 1 :
musiquec.attachSound("musa1");
break;
case 2 :
musiquec.attachSound("musa2");
break;
case 3 :
musiquec.attachSound("musa3");
}
musiquec.start();
}
function sourde() {
musiques.stop();
switch (etatmusb) {
case 1 :
musiques.attachSound("musb1");
break;
case 2 :
musiques.attachSound("musb2");
break;
case 3 :
musiques.attachSound("musb3");
}
musiques.start();
}
function breathe() {
respire.stop();
switch (etatres) {
case 1 :
respire.attachSound("respire1");
break;
case 2 :
respire.attachSound("respire2");
break;
case 3 :
respire.attachSound("respire3");
break;
case 4 :
respire.attachSound("respire4");
break;
case 5 :
respire.attachSound("respire5");
}
respire.start();
}
_root.createEmptyMovieClip("MCmus1", 6000);
_root.createEmptyMovieClip("MCmus2", 6002);
_root.createEmptyMovieClip("MCresp", 6004);
_root.createEmptyMovieClip("MCdoorsong", 6006);
_root.createEmptyMovieClip("MCvoix", 6008);
_root.createEmptyMovieClip("MCpas", 6010);
amphetamine = new Sound([amphet_mc]);
boistake = new Sound([bbois_mc]);
boisdrop = new Sound([bbois_mc]);
teleon = new Sound([tv_mc]);
teleoff = new Sound([tv_mc]);
cletake = new Sound([cle_mc]);
locked = new Sound([commode_mc]);
unlocked = new Sound([commode_mc]);
drawopen = new Sound([commode_mc]);
drawclose = new Sound([commode_mc]);
filprend = new Sound([fiche_mc]);
fillache = new Sound([fiche_mc]);
cdouvre = new Sound([radio_mc]);
cdprend = new Sound([disc_mc]);
cdferme = new Sound([radio_mc]);
romin = new Sound([portable_mc]);
filiouvre = new Sound([filiere_mc]);
filiferme = new Sound([filiere_mc]);
fileprend = new Sound([filiere_mc]);
fileouvre = new Sound([filiere_mc]);
fileferme = new Sound([filiere_mc]);
board = new Sound([portable_mc]);
porteouvre = new Sound([MCbox23]);
porteferme = new Sound([MCbox24]);
tourne = new Sound([MCpas]);
musiquec = new Sound([MCmus1]);
musiques = new Sound([MCmus2]);
respire = new Sound([MCresp]);
portouv = new Sound([portable_mc]);
portfer = new Sound([portable_mc]);
vitre = new Sound([tv_mc]);
fenetre = new Sound([fen_mc]);
doorsong = new Sound([MCdoorsong]);
voix = new Sound([MCvoix]);
amphete = new Array(amphetamine, "amphe1", "amphe2", "amphe3");
boisprend = new Array(boistake, "woodtake1", "woodtake2", "woodtake3");
boislache = new Array(boisdrop, "wooddrop1", "wooddrop2", "wooddrop3");
teleouvre = new Array(teleon, "tvon1", "tvon2", "tvon3");
teleferme = new Array(teleoff, "tvoff1", "tvoff2", "tvoff3");
cle = new Array(cletake, "keypick1", "keypick2", "keypick3");
serrurea = new Array(locked, "lock1", "lock2", "lock3");
serrureb = new Array(unlocked, "unlock1", "unlock2", "unlock3");
tiroiropen = new Array(drawopen, "tiropen1", "tiropen2", "tiropen3");
tiroirferme = new Array(drawclose, "tirclose1", "tirclose2", "tirclose3");
cordtake = new Array(filprend, "filtake1", "filtake2", "filtake3");
corddrop = new Array(fillache, "fildrop1", "fildrop2", "fildrop3");
cdouv = new Array(cdouvre, "cdopen1", "cdopen2", "cdopen3");
cdpre = new Array(cdprend, "cdtake1", "cdtake2", "cdtake3");
cdfer = new Array(cdferme, "cdclose1", "cdclose2", "cdclose3");
rom = new Array(romin, "rom1", "rom2", "rom3");
filiouv = new Array(filiouvre, "fileopen1", "fileopen2", "fileopen3");
filifer = new Array(filiferme, "fileclose1", "fileclose2", "fileclose3");
dosspre = new Array(fileprend, "dossopen1", "dossopen2", "dossopen3");
dossouv = new Array(fileouvre, "dosstake1", "dosstake2", "dosstake3");
dossfer = new Array(fileferme, "dossclose1", "dossclose2", "dossclose3");
clavier = new Array(board, "clavier1", "clavier2", "clavier3");
doorouv = new Array(porteouvre, "dooropen1", "dooropen2", "dooropen3");
doorfer = new Array(porteferme, "doorclose1", "doorclose2", "doorclose3");
lespas = new Array(tourne, "walk1", "walk2", "walk3");
macouv = new Array(portouv, "portouvre1", "portouvre2", "portouvre3");
macfer = new Array(portfer, "portferme1", "portferme2", "portferme3");
glass = new Array(vitre, "vitre1", "vitre2", "vitre3");
window = new Array(fenetre, "fenetre1", "fenetre2", "fenetre3");
mixer = new Array("rien", amphete, boisprend, boislache, teleouvre, teleferme, cle, serrurea, serrureb, tiroiropen, tiroirferme, cordtake, corddrop, cdouv, cdpre, cdfer, rom, filiouv, filifer, dossouv, dosspre, dossfer, clavier, doorouv, doorfer, lespas, macouv, macfer, glass, window);
i = 1;
while (i < 46) {
_root["etat" + i] = 1;
i++;
}
etatres = 1;
musiquec.attachSound("musa1");
musiquec.setVolume(35);
musiques.attachSound("musb1");
musiques.setVolume(0);
doorsong.attachSound("doorsong1");
doorsong.setVolume(0);
voix.setVolume(70);
doorsong.start();
musiquec.start();
musiques.start();
respire.attachSound("respire1");
respire.start();
fenetre.setVolume(20);
setInterval(hasard, 10000);
musiquec.onSoundComplete = function () {
claire();
};
musiques.onSoundComplete = function () {
sourde();
};
respire.onSoundComplete = function () {
breathe();
};
doorsong.onSoundComplete = function () {
doorsong.start();
};
function init() {
tousObj = new Array();
ObjFixe = new Array(bbois_mc, disc_mc, fiche_mc, cordon_mc, cle_mc, pano_mc, porte_mc, porteanim_mc, portable_mc, tableport_mc, tabletv_mc, tv_mc, radio_mc, filiere_mc, commode_mc, amphet_mc, porte_mc, portedess_mc);
objInitialis();
cacheSouris();
ObjInvis();
pano_mc._alpha = 70;
fildessus = 0;
cledessus = 0;
cddessus = 0;
portedessus = 0;
}
function ObjInvis() {
var i = 0;
while (i < objFixe.length) {
ObjFixe[i]._visible = false;
i++;
}
}
function Objetsmc(mcNom, lex, ley, vois, trsp, dessus, drag, etat, son1, son2, son3) {
this.mcNom = mcNom;
this.lex = lex;
this.ley = ley;
this.vois = vois;
this.trsp = trsp;
this.dessus = dessus;
this.drag = drag;
this.etat = etat;
this.son1 = son1;
this.son2 = son2;
this.son3 = son3;
}
function objInitialis() {
tousObj.push(new objetsmc(tableport_mc, 320.4, 387.4, 1, 0, 0, 0, 1, 30, 31, 32));
tousObj.push(new objetsmc(portable_mc, 254, 351, 0, 0, 0, 0, 1, 26, 27, 16));
tousObj.push(new objetsmc(tv_mc, 320.4, 232.4, 0, 0, 0, 0, 1, 4, 5, 28));
tousObj.push(new objetsmc(tabletv_mc, 335.4, 356.6, 0, 0, 0, 0, 1, 33, 34, 35));
tousObj.push(new objetsmc(radio_mc, 208.9, 101.5, 0, 0, 0, 0, 1, 13, 14, 15));
tousObj.push(new objetsmc(filiere_mc, 171.9, 207.4, 0, 0, 0, 0, 1, 17, 18, 36));
tousObj.push(new objetsmc(commode_mc, 150.9, 111, 0, 0, 0, 0, 1, 9, 10, 7));
tousObj.push(new objetsmc(bbois_mc, 241.4, 137.4, 0, 0, 0, 1, 1, 2, 3, 37));
tousObj.push(new objetsmc(disc_mc, 145, 61, 0, 0, 0, 1, 1, 40, 39, 38));
tousObj.push(new objetsmc(fiche_mc, 473.4, 143.4, 0, 0, 0, 1, 1, 19, 20, 21));
tousObj.push(new objetsmc(cordon_mc, 74, 133.5, 0, 0, 0, 1, 1, 11, 12, 41));
tousObj.push(new objetsmc(amphet_mc, 377, 147, 0, 0, 0, 0, 1, 1, 43, 42));
tousObj.push(new objetsmc(cle_mc, 377, 147, 0, 0, 0, 1, 1, 6, 44, 45));
}
function cacheSouris() {
Mouse.hide();
_root.attachMovie("cursor", "cursor_mc", 1000);
cursor_mc.onMouseMove = function () {
this._x = _xmouse;
this._y = _ymouse;
updateAfterEvent();
};
}
function quelFrameB() {
var x = 1;
while (x < 4) {
_root["leFrameB" + x] = piece_mc[("pieceb" + x) + "_mc"]._currentframe;
x++;
}
}
function quelFrameA() {
var x = 1;
while (x < 4) {
_root["leFrameA" + x] = piece_mc[("piecea" + x) + "_mc"]._currentframe;
x++;
}
}
function muretObjetB(x) {
switch (_root["leFrameB" + x]) {
case 1 :
tableport_mc._visible = true;
portable_mc._visible = true;
return;
case 4 :
radio_mc._visible = true;
filiere_mc._visible = true;
return;
case 7 :
if (portedessus == 1) {
portedess_mc._visible = false;
} else {
portedess_mc._visible = true;
}
return;
case 10 :
tabletv_mc._visible = true;
tv_mc._visible = true;
return;
case 13 :
tableport_mc._visible = true;
portable_mc._visible = true;
return;
case 16 :
tabletv_mc._visible = true;
tv_mc._visible = true;
return;
case 19 :
if (portedessus == 1) {
portedess_mc._visible = false;
} else {
portedess_mc._visible = true;
}
return;
case 22 :
radio_mc._visible = true;
filiere_mc._visible = true;
return;
case 25 :
tableport_mc._visible = true;
portable_mc._visible = true;
}
}
function muretObjetA(x) {
switch (_root["leFrameA" + x]) {
case 1 :
return;
case 4 :
return;
case 7 :
if (portedessus == 1) {
porte_mc._visible = true;
portedess_mc._visible = false;
} else {
portedess_mc._visible = true;
}
return;
case 10 :
commode_mc._visible = true;
if (firstclic3 == 0) {
bbois_mc._visible = true;
}
amphet_mc._visible = true;
return;
case 13 :
return;
case 16 :
commode_mc._visible = true;
if (firstclic3 == 0) {
bbois_mc._visible = true;
}
amphet_mc._visible = true;
return;
case 19 :
if (portedessus == 1) {
porte_mc._visible = true;
portedess_mc._visible = false;
} else {
portedess_mc._visible = true;
}
return;
case 22 :
return;
case 25 :
}
}
function replaceObj() {
}
function changeCursor() {
switch (cursor_mc._currentframe) {
case 1 :
cursor_mc.gotoAndStop(2);
return;
case 2 :
cursor_mc.gotoAndStop(1);
}
}
function checkhit() {
if ((bbois_mc.hitTest(hitTv_mc) && (tv_mc._visible == true)) && (tv_mc._alpha == 100)) {
switch (tv_mc._currentframe) {
case 1 :
tv_mc.tv1_mc.gotoAndStop(20);
break;
case 2 :
tv_mc.tv2_mc.gotoAndStop(20);
break;
case 3 :
tv_mc.tv3_mc.gotoAndStop(20);
}
cle_mc._visible = true;
hitresult(bbois_mc, 3, boislogo_mc);
}
if (disc_mc.hitTest(portable_mc) && (portable_mc._alpha == 100)) {
encadPort();
cddessus = 1;
hitresult(disc_mc, 1, cdlogo_mc);
}
if (cordon_mc.hitTest(radio_mc) && (radio_mc._visible == true)) {
fildessus = 1;
hitresult(cordon_mc, 2, fillogo_mc);
}
if (cle_mc.hitTest(commode_mc) && ((commode_mc._visible = true))) {
hitresult(cle_mc, 5, clelogo_mc);
if (cledessus == 0) {
variation(8);
cledessus = 1;
}
}
}
init();
RemoveEncad = function () {
encRadio_mc.removeMovieClip();
encadFile_mc.removeMovieClip();
encadDossiere_mc.removeMovieClip();
encadPort_mc.removeMovieClip();
encadAmphet_mc.removeMovieClip();
encadcom_mc.removeMovieClip();
};
objetsmc.prototype.dragable = function () {
if (this.drag == 1) {
startDrag (this.mcNom, true);
}
this.mcNom.onRelease = function () {
switch (this) {
case bbois_mc :
indock(3, bbois_mc, boislogo_mc);
variation(3);
break;
case cordon_mc :
indock(2, cordon_mc, fillogo_mc);
variation(12);
break;
case disc_mc :
indock(1, disc_mc, cdlogo_mc);
variation(14);
break;
case fiche_mc :
indock(4, fiche_mc, fichelogo_mc);
variation(19);
break;
case cle_mc :
indock(5, cle_mc, clelogo_mc);
variation(6);
}
stopDrag();
};
this.mcNom.onReleaseOutside = function () {
switch (this) {
case bbois_mc :
indock(3, bbois_mc, boislogo_mc);
variation(3);
break;
case cordon_mc :
indock(2, cordon_mc, fillogo_mc);
variation(12);
break;
case disc_mc :
indock(1, disc_mc, cdlogo_mc);
variation(14);
break;
case fiche_mc :
indock(4, fiche_mc, fichelogo_mc);
variation(19);
break;
case cle_mc :
indock(5, cle_mc, clelogo_mc);
variation(6);
}
stopDrag();
};
this.mcNom.onDragOut = function () {
changeCursor();
};
};
Objetsmc.prototype.over = function () {
this.dessus = this.dessus + 1;
changeCursor();
};
Objetsmc.prototype.out = function () {
this.dessus = this.dessus - 1;
changeCursor();
};
Objetsmc.prototype.transparence = function () {
if (this.dessus == 1) {
this.mcNom._alpha = this.mcNom._alpha + 1;
}
if (this.mcNom._alpha >= 100) {
this.mcNom._alpha = 100;
}
if ((this.mcNom._alpha == 100) && (this.etat == 1)) {
rollhors(this.son1, this.mcNom);
rollhors(this.son2, this.mcNom);
rollhors(this.son3, this.mcNom);
this.etat = this.etat + 1;
}
};
piece_mc.onEnterFrame = function () {
switch (piece_mc._currentframe) {
case 1 :
quelFrameB();
muretObjetB(1);
break;
case 2 :
quelFrameA();
muretObjetA(1);
break;
case 4 :
quelFrameB();
muretObjetB(2);
break;
case 5 :
quelFrameA();
muretObjetA(2);
break;
case 7 :
quelFrameB();
muretObjetB(3);
break;
case 8 :
quelFrameA();
muretObjetA(3);
}
checkhit();
};
tableport_mc.onRollOver = function () {
tousObj[0].Over();
};
tableport_mc.onRollOut = function () {
tousObj[0].Out();
};
tableport_mc.onPress = function () {
tousObj[0].dragable();
};
portable_mc.onRollOver = function () {
tousObj[1].Over();
};
portable_mc.onRollOut = function () {
tousObj[1].Out();
};
portable_mc.onPress = function () {
tousObj[1].dragable();
if (this._alpha == 100) {
switch (this._currentframe) {
case 1 :
if (cddessus == 1) {
pano_mc._visible = true;
variation(26);
this.port1_mc.gotoAndPlay(2);
}
if (this.port1_mc._currentframe == 1) {
this.port1_mc.gotoAndPlay(2);
variation(26);
} else if (this.port1_mc._currentframe == 3) {
variation(27);
this.port1_mc.gotoAndPlay(4);
}
return;
case 2 :
if (cddessus == 1) {
variation(26);
pano_mc._visible = true;
this.port2_mc.gotoAndPlay(2);
}
if (this.port2_mc._currentframe == 1) {
this.port2_mc.gotoAndPlay(2);
variation(26);
} else if (this.port2_mc._currentframe == 3) {
variation(27);
this.port2_mc.gotoAndPlay(4);
}
case 3 :
if (cddessus == 1) {
variation(26);
pano_mc._visible = true;
this.port3_mc.gotoAndPlay(2);
}
if (this.port3_mc._currentframe == 1) {
this.port3_mc.gotoAndPlay(2);
variation(26);
} else {
if (this.port3_mc._currentframe != 3) {
break;
}
variation(27);
this.port3_mc.gotoAndPlay(4);
}
}
}
};
tabletv_mc.onRollOver = function () {
tousObj[3].Over();
};
tabletv_mc.onRollOut = function () {
tousObj[3].Out();
};
tabletv_mc.onPress = function () {
tousObj[3].dragable();
};
tv_mc.onRollOver = function () {
tousObj[2].Over();
};
tv_mc.onRollOut = function () {
tousObj[2].Out();
};
tv_mc.onPress = function () {
if (tv_mc._alpha == 100) {
switch (this._currentframe) {
case 1 :
if (this.tv1_mc._currentframe == 20) {
} else {
this.tv1_mc.gotoAndPlay(2);
}
break;
case 2 :
if (this.tv2_mc._currentframe == 20) {
} else {
this.tv2_mc.gotoAndPlay(2);
}
break;
case 3 :
if (this.tv3_mc._currentframe == 20) {
} else {
this.tv3_mc.gotoAndPlay(2);
}
}
variation(4);
tousObj[2].dragable();
}
};
radio_mc.onRollOver = function () {
tousObj[4].Over();
};
radio_mc.onRollOut = function () {
tousObj[4].Out();
};
radio_mc.onPress = function () {
if (fildessus == 1) {
variation(13);
encadRadio();
}
tousObj[4].dragable();
};
filiere_mc.onRollOver = function () {
tousObj[5].Over();
};
filiere_mc.onRollOut = function () {
tousObj[5].Out();
};
filiere_mc.onPress = function () {
encadFile();
tousObj[5].dragable();
};
disc_mc.onRollOver = function () {
tousObj[8].Over();
};
disc_mc.onRollOut = function () {
tousObj[8].Out();
};
disc_mc.onPress = function () {
if (this._alpha == 100) {
tousObj[8].dragable();
}
};
fiche_mc.onRollOver = function () {
tousObj[9].Over();
};
fiche_mc.onRollOut = function () {
tousObj[9].Out();
};
fiche_mc.onPress = function () {
if (this._alpha == 100) {
tousObj[9].dragable();
}
};
cordon_mc.onRollOver = function () {
tousObj[10].Over();
};
cordon_mc.onRollOut = function () {
tousObj[10].Out();
};
cordon_mc.onPress = function () {
if (this._alpha == 100) {
tousObj[10].dragable();
}
};
cle_mc.onRollOver = function () {
tousObj[12].Over();
};
cle_mc.onRollOut = function () {
tousObj[12].Out();
};
cle_mc.onPress = function () {
if (this._alpha == 100) {
tousObj[12].dragable();
}
};
commode_mc.onRollOver = function () {
tousObj[6].Over();
};
commode_mc.onRollOut = function () {
tousObj[6].Out();
};
commode_mc.onPress = function () {
if ((cledessus == 1) && (commode_mc._visible == true)) {
variation(9);
encadCom();
} else if (commode_mc._alpha == 100) {
variation(7);
}
tousObj[6].dragable();
};
bbois_mc.onRollOver = function () {
tousObj[7].Over();
};
bbois_mc.onRollOut = function () {
tousObj[7].Out();
};
bbois_mc.onPress = function () {
if (this._alpha == 100) {
tousObj[7].dragable();
variation(2);
}
};
amphet_mc.onRollOver = function () {
tousObj[11].Over();
};
amphet_mc.onRollOut = function () {
tousObj[11].Out();
};
amphet_mc.onPress = function () {
if (this._alpha == 100) {
encadAmphet();
tousObj[11].dragable();
}
};
portedess_mc.onRollOver = function () {
doorsong.setVolume(50);
musevar1 = musiquec.getVolume();
musiquec.setVolume(musevar1 / 4);
musevar2 = musiques.getVolume();
musiques.setVolume(musevar2 / 4);
changeCursor();
};
portedess_mc.onRollOut = function () {
doorsong.setVolume(0);
musevar1 = musiquec.getVolume();
musiquec.setVolume(musevar1 * 4);
musevar2 = musiques.getVolume();
musiques.setVolume(musevar2 * 4);
changeCursor();
};
portedess_mc.onDragOut = function () {
doorsong.setVolume(0);
musevar1 = musiquec.getVolume();
musiquec.setVolume(musevar1 * 4);
musevar2 = musiques.getVolume();
musiques.setVolume(musevar2 * 4);
changeCursor();
};
porte_mc.onRollOver = function () {
doorsong.setVolume(50);
musevar1 = musiquec.getVolume();
musiquec.setVolume(musevar1 / 4);
musevar2 = musiques.getVolume();
musiques.setVolume(musevar2 / 4);
changeCursor();
};
porte_mc.onRollOut = function () {
doorsong.setVolume(0);
musevar1 = musiquec.getVolume();
musiquec.setVolume(musevar1 * 4);
musevar2 = musiques.getVolume();
musiques.setVolume(musevar2 * 4);
changeCursor();
};
porte_mc.onPress = function () {
anim = 1;
variation(23);
porteanim_mc._visible = true;
porteanim_mc.gotoAndPlay(2);
};
onMouseMove = function () {
tousObj[0].transparence();
if (tableport_mc._alpha == 100) {
tousObj[1].transparence();
}
if (tabletv_mc._alpha == 100) {
tousObj[2].transparence();
tousObj[12].transparence();
}
tousObj[3].transparence();
if (filiere_mc._alpha == 100) {
tousObj[4].transparence();
tousObj[8].transparence();
tousObj[9].transparence();
}
tousObj[5].transparence();
tousObj[6].transparence();
if (commode_mc._alpha == 100) {
tousObj[7].transparence();
tousObj[10].transparence();
tousObj[11].transparence();
}
};
anim = 0;
boutAd_mc._visible = false;
boutAg_mc._visible = false;
fen_mc.onRollOver = function () {
doorsong.setVolume(50);
musevar1 = musiquec.getVolume();
musiquec.setVolume(musevar1 / 4);
musevar2 = musiques.getVolume();
musiques.setVolume(musevar2 / 4);
changeCursor();
};
fen_mc.onRollOut = function () {
doorsong.setVolume(0);
musevar1 = musiquec.getVolume();
musiquec.setVolume(musevar1 * 4);
musevar2 = musiques.getVolume();
musiques.setVolume(musevar2 * 4);
changeCursor();
};
fen_mc.onDragOut = function () {
changeCursor();
};
fen_mc.onPress = function () {
variation(29);
if (musiques.getVolume() == 30) {
musiquec.setVolume(20);
musiques.setVolume(0);
} else {
musiquec.setVolume(0);
musiques.setVolume(30);
}
ObjInvis();
RemoveEncad();
switch (piece_mc._currentframe) {
case 1 :
piece_mc.gotoAndStop(2);
boutAd_mc._visible = true;
boutAg_mc._visible = true;
boutd_mc._visible = false;
boutg_mc._visible = false;
return;
case 2 :
piece_mc.gotoAndStop(1);
boutd_mc._visible = true;
boutg_mc._visible = true;
boutAd_mc._visible = false;
boutAg_mc._visible = false;
return;
case 4 :
piece_mc.gotoAndStop(5);
boutAd_mc._visible = true;
boutAg_mc._visible = true;
boutd_mc._visible = false;
boutg_mc._visible = false;
return;
case 5 :
piece_mc.gotoAndStop(4);
boutd_mc._visible = true;
boutg_mc._visible = true;
boutAd_mc._visible = false;
boutAg_mc._visible = false;
return;
case 7 :
piece_mc.gotoAndStop(8);
boutAd_mc._visible = true;
boutAg_mc._visible = true;
boutd_mc._visible = false;
boutg_mc._visible = false;
replaceObj();
return;
case 8 :
piece_mc.gotoAndStop(7);
boutd_mc._visible = true;
boutg_mc._visible = true;
boutAd_mc._visible = false;
boutAg_mc._visible = false;
}
};
boutd_mc.onRollOver = function () {
changeCursor();
};
boutd_mc.onRollOut = function () {
changeCursor();
};
boutd_mc.onPress = function () {
variation(25);
ObjInvis();
RemoveEncad();
piece1b_boutd();
piece2b_boutd();
piece3b_boutd();
};
boutg_mc.onRollOver = function () {
changeCursor();
};
boutg_mc.onRollOut = function () {
changeCursor();
};
boutg_mc.onPress = function () {
variation(25);
ObjInvis();
RemoveEncad();
piece1b_boutg();
piece2b_boutg();
piece3b_boutg();
};
piece1b_boutg = function () {
switch (piece_mc.pieceb1_mc._currentframe) {
case 1 :
piece_mc.pieceb1_mc.gotoAndPlay(2);
return;
case 4 :
piece_mc.pieceb1_mc.gotoAndPlay(5);
return;
case 7 :
piece_mc.pieceb1_mc.gotoAndPlay(8);
return;
case 10 :
piece_mc.pieceb1_mc.gotoAndPlay(11);
return;
case 13 :
piece_mc.pieceb1_mc.gotoAndPlay(2);
return;
case 16 :
piece_mc.pieceb1_mc.gotoAndPlay(11);
return;
case 19 :
piece_mc.pieceb1_mc.gotoAndPlay(8);
return;
case 22 :
piece_mc.pieceb1_mc.gotoAndPlay(5);
return;
case 25 :
piece_mc.pieceb1_mc.gotoAndPlay(2);
}
};
piece2b_boutg = function () {
switch (piece_mc.pieceb2_mc._currentframe) {
case 1 :
piece_mc.pieceb2_mc.gotoAndPlay(2);
return;
case 4 :
piece_mc.pieceb2_mc.gotoAndPlay(5);
return;
case 7 :
piece_mc.pieceb2_mc.gotoAndPlay(8);
return;
case 10 :
piece_mc.pieceb2_mc.gotoAndPlay(11);
return;
case 13 :
piece_mc.pieceb2_mc.gotoAndPlay(2);
return;
case 16 :
piece_mc.pieceb2_mc.gotoAndPlay(11);
return;
case 19 :
piece_mc.pieceb2_mc.gotoAndPlay(8);
return;
case 22 :
piece_mc.pieceb2_mc.gotoAndPlay(5);
return;
case 25 :
piece_mc.pieceb2_mc.gotoAndPlay(2);
}
};
piece3b_boutg = function () {
switch (piece_mc.pieceb3_mc._currentframe) {
case 1 :
piece_mc.pieceb3_mc.gotoAndPlay(2);
return;
case 4 :
piece_mc.pieceb3_mc.gotoAndPlay(5);
return;
case 7 :
piece_mc.pieceb3_mc.gotoAndPlay(8);
return;
case 10 :
piece_mc.pieceb3_mc.gotoAndPlay(11);
return;
case 13 :
piece_mc.pieceb3_mc.gotoAndPlay(2);
return;
case 16 :
piece_mc.pieceb3_mc.gotoAndPlay(11);
return;
case 19 :
piece_mc.pieceb3_mc.gotoAndPlay(8);
return;
case 22 :
piece_mc.pieceb3_mc.gotoAndPlay(5);
return;
case 25 :
piece_mc.pieceb3_mc.gotoAndPlay(2);
}
};
piece1b_boutd = function () {
switch (piece_mc.pieceb1_mc._currentframe) {
case 1 :
piece_mc.pieceb1_mc.gotoAndPlay(14);
return;
case 4 :
piece_mc.pieceb1_mc.gotoAndPlay(23);
return;
case 7 :
piece_mc.pieceb1_mc.gotoAndPlay(20);
return;
case 10 :
piece_mc.pieceb1_mc.gotoAndPlay(17);
return;
case 13 :
piece_mc.pieceb1_mc.gotoAndPlay(14);
return;
case 14 :
piece_mc.pieceb1_mc.gotoAndPlay(15);
return;
case 16 :
piece_mc.pieceb1_mc.gotoAndPlay(17);
return;
case 19 :
piece_mc.pieceb1_mc.gotoAndPlay(20);
return;
case 22 :
piece_mc.pieceb1_mc.gotoAndPlay(23);
return;
case 25 :
piece_mc.pieceb1_mc.gotoAndPlay(14);
}
};
piece2b_boutd = function () {
switch (piece_mc.pieceb2_mc._currentframe) {
case 1 :
piece_mc.pieceb2_mc.gotoAndPlay(14);
return;
case 4 :
piece_mc.pieceb2_mc.gotoAndPlay(23);
return;
case 7 :
piece_mc.pieceb2_mc.gotoAndPlay(20);
return;
case 10 :
piece_mc.pieceb2_mc.gotoAndPlay(17);
return;
case 13 :
piece_mc.pieceb2_mc.gotoAndPlay(14);
return;
case 14 :
piece_mc.pieceb2_mc.gotoAndPlay(15);
return;
case 16 :
piece_mc.pieceb2_mc.gotoAndPlay(17);
return;
case 19 :
piece_mc.pieceb2_mc.gotoAndPlay(20);
return;
case 22 :
piece_mc.pieceb2_mc.gotoAndPlay(23);
return;
case 25 :
piece_mc.pieceb2_mc.gotoAndPlay(14);
}
};
piece3b_boutd = function () {
switch (piece_mc.pieceb3_mc._currentframe) {
case 1 :
piece_mc.pieceb3_mc.gotoAndPlay(14);
return;
case 4 :
piece_mc.pieceb3_mc.gotoAndPlay(23);
return;
case 7 :
piece_mc.pieceb3_mc.gotoAndPlay(20);
return;
case 10 :
piece_mc.pieceb3_mc.gotoAndPlay(17);
return;
case 13 :
piece_mc.pieceb3_mc.gotoAndPlay(14);
return;
case 14 :
piece_mc.pieceb3_mc.gotoAndPlay(15);
return;
case 16 :
piece_mc.pieceb3_mc.gotoAndPlay(17);
return;
case 19 :
piece_mc.pieceb3_mc.gotoAndPlay(20);
return;
case 22 :
piece_mc.pieceb3_mc.gotoAndPlay(23);
return;
case 25 :
piece_mc.pieceb3_mc.gotoAndPlay(14);
}
};
boutAd_mc.onRollOver = function () {
changeCursor();
};
boutAd_mc.onRollOut = function () {
changeCursor();
};
boutAd_mc.onPress = function () {
variation(25);
RemoveEncad();
ObjInvis();
piece1A_boutd();
piece2A_boutd();
piece3A_boutd();
};
piece1A_boutd = function () {
switch (piece_mc.piecea1_mc._currentframe) {
case 1 :
piece_mc.piecea1_mc.gotoAndPlay(14);
return;
case 4 :
piece_mc.piecea1_mc.gotoAndPlay(23);
return;
case 7 :
piece_mc.piecea1_mc.gotoAndPlay(20);
return;
case 10 :
piece_mc.piecea1_mc.gotoAndPlay(17);
return;
case 13 :
piece_mc.piecea1_mc.gotoAndPlay(14);
return;
case 14 :
piece_mc.piecea1_mc.gotoAndPlay(15);
return;
case 16 :
piece_mc.piecea1_mc.gotoAndPlay(17);
return;
case 19 :
piece_mc.piecea1_mc.gotoAndPlay(20);
return;
case 22 :
piece_mc.piecea1_mc.gotoAndPlay(23);
return;
case 25 :
piece_mc.piecea1_mc.gotoAndPlay(14);
}
};
piece2A_boutd = function () {
switch (piece_mc.piecea2_mc._currentframe) {
case 1 :
piece_mc.piecea2_mc.gotoAndPlay(14);
return;
case 4 :
piece_mc.piecea2_mc.gotoAndPlay(23);
return;
case 7 :
piece_mc.piecea2_mc.gotoAndPlay(20);
return;
case 10 :
piece_mc.piecea2_mc.gotoAndPlay(17);
return;
case 13 :
piece_mc.piecea2_mc.gotoAndPlay(14);
return;
case 14 :
piece_mc.piecea2_mc.gotoAndPlay(15);
return;
case 16 :
piece_mc.piecea2_mc.gotoAndPlay(17);
return;
case 19 :
piece_mc.piecea2_mc.gotoAndPlay(20);
return;
case 22 :
piece_mc.piecea2_mc.gotoAndPlay(23);
return;
case 25 :
piece_mc.piecea2_mc.gotoAndPlay(14);
}
};
piece3A_boutd = function () {
switch (piece_mc.piecea3_mc._currentframe) {
case 1 :
piece_mc.piecea3_mc.gotoAndPlay(14);
return;
case 4 :
piece_mc.piecea3_mc.gotoAndPlay(23);
return;
case 7 :
piece_mc.piecea3_mc.gotoAndPlay(20);
return;
case 10 :
piece_mc.piecea3_mc.gotoAndPlay(17);
return;
case 13 :
piece_mc.piecea3_mc.gotoAndPlay(14);
return;
case 14 :
piece_mc.piecea3_mc.gotoAndPlay(15);
return;
case 16 :
piece_mc.piecea3_mc.gotoAndPlay(17);
return;
case 19 :
piece_mc.piecea3_mc.gotoAndPlay(20);
return;
case 22 :
piece_mc.piecea3_mc.gotoAndPlay(23);
return;
case 25 :
piece_mc.piecea3_mc.gotoAndPlay(14);
}
};
boutAg_mc.onRollOver = function () {
changeCursor();
};
boutAg_mc.onRollOut = function () {
changeCursor();
};
boutAg_mc.onPress = function () {
variation(25);
ObjInvis();
RemoveEncad();
piece1A_boutg();
piece2A_boutg();
piece3A_boutg();
};
piece1A_boutg = function () {
switch (piece_mc.piecea1_mc._currentframe) {
case 1 :
piece_mc.piecea1_mc.gotoAndPlay(2);
return;
case 4 :
piece_mc.piecea1_mc.gotoAndPlay(5);
return;
case 7 :
piece_mc.piecea1_mc.gotoAndPlay(8);
return;
case 10 :
piece_mc.piecea1_mc.gotoAndPlay(11);
return;
case 13 :
piece_mc.piecea1_mc.gotoAndPlay(2);
return;
case 16 :
piece_mc.piecea1_mc.gotoAndPlay(11);
return;
case 19 :
piece_mc.piecea1_mc.gotoAndPlay(8);
return;
case 22 :
piece_mc.piecea1_mc.gotoAndPlay(5);
return;
case 25 :
piece_mc.piecea1_mc.gotoAndPlay(2);
}
};
piece2A_boutg = function () {
switch (piece_mc.piecea2_mc._currentframe) {
case 1 :
piece_mc.piecea2_mc.gotoAndPlay(2);
return;
case 4 :
piece_mc.piecea2_mc.gotoAndPlay(5);
return;
case 7 :
piece_mc.piecea2_mc.gotoAndPlay(8);
return;
case 10 :
piece_mc.piecea2_mc.gotoAndPlay(11);
return;
case 13 :
piece_mc.piecea2_mc.gotoAndPlay(2);
return;
case 16 :
piece_mc.piecea2_mc.gotoAndPlay(11);
return;
case 19 :
piece_mc.piecea2_mc.gotoAndPlay(8);
return;
case 22 :
piece_mc.piecea2_mc.gotoAndPlay(5);
return;
case 25 :
piece_mc.piecea2_mc.gotoAndPlay(2);
}
};
piece3A_boutg = function () {
switch (piece_mc.piecea3_mc._currentframe) {
case 1 :
piece_mc.piecea3_mc.gotoAndPlay(2);
return;
case 4 :
piece_mc.piecea3_mc.gotoAndPlay(5);
return;
case 7 :
piece_mc.piecea3_mc.gotoAndPlay(8);
return;
case 10 :
piece_mc.piecea3_mc.gotoAndPlay(11);
return;
case 13 :
piece_mc.piecea3_mc.gotoAndPlay(2);
return;
case 16 :
piece_mc.piecea3_mc.gotoAndPlay(11);
return;
case 19 :
piece_mc.piecea3_mc.gotoAndPlay(8);
return;
case 22 :
piece_mc.piecea3_mc.gotoAndPlay(5);
return;
case 25 :
piece_mc.piecea3_mc.gotoAndPlay(2);
}
};
etatPiece = function (etat) {
switch (etat) {
case 1 :
switch (piece_mc._currentframe) {
case 1 :
piece_mc.gotoAndStop(1);
break;
case 2 :
piece_mc.gotoAndStop(2);
break;
case 4 :
piece_mc.gotoAndStop(1);
piece_mc.pieceb1_mc.gotoAndStop(leFrameB2);
break;
case 5 :
piece_mc.gotoAndStop(2);
piece_mc.piecea1_mc.gotoAndStop(leFrameA2);
break;
case 7 :
piece_mc.gotoAndStop(1);
piece_mc.pieceb1_mc.gotoAndStop(leFrameB3);
break;
case 8 :
piece_mc.gotoAndStop(2);
piece_mc.piecea1_mc.gotoAndStop(leFrameA3);
}
return;
case 2 :
if (piece_mc._currentframe == 1) {
piece_mc.gotoAndStop(4);
piece_mc.pieceb2_mc.gotoAndStop(leFrameB1);
} else if (piece_mc._currentframe == 2) {
piece_mc.gotoAndStop(5);
piece_mc.piecea2_mc.gotoAndStop(leFrameA1);
}
return;
case 3 :
if (piece_mc._currentframe == 4) {
piece_mc.gotoAndStop(7);
piece_mc.pieceb3_mc.gotoAndStop(leFrameB2);
} else {
if (piece_mc._currentframe != 5) {
break;
}
piece_mc.gotoAndStop(8);
piece_mc.piecea3_mc.gotoAndStop(leFrameA2);
}
}
};
function encadRadio() {
if (firstclic1 == 1) {
encRadio_mc.gotoAndStop(7);
} else if (radio_mc._alpha == 100) {
_root.attachMovie("radio_disc", "encRadio_mc", 900);
encRadio_mc._x = 188;
encRadio_mc._y = 100;
encRadio_mc._visible = true;
encRadio_mc.gotoAndPlay(1);
}
}
function encadFile() {
if (encadFiche_mc._visible == true) {
encadFile_mc.gotoAndStop(7);
} else if (filiere_mc._alpha == 100) {
_root.attachMovie("case_casier", "encadFile_mc", 901);
encadFile_mc._x = 188;
encadFile_mc._y = 300;
encadFile_mc._visible = true;
encadFile_mc.gotoAndPlay(1);
}
}
function encadDossier() {
if (filiere_mc._alpha == 100) {
_root.attachMovie("case_dossier", "encadDossiere_mc", 902);
encadDossiere_mc._x = 475;
encadDossiere_mc._y = 200;
encadDossiere_mc._visible = true;
encadDossiere_mc.gotoAndPlay(1);
}
}
function encadCom() {
if (firstclic2 == 1) {
encadcom_mc.gotoAndPlay(7);
} else if (commode_mc._alpha == 100) {
_root.attachMovie("case_commode", "encadcom_mc", 903);
encadcom_mc._x = 150;
encadcom_mc._y = 150;
encadcom_mc._visible = true;
encadcom_mc.gotoAndPlay(1);
}
}
function encadPort() {
_root.attachMovie("case_portable", "encadPort_mc", 904);
encadPort_mc._x = 200;
encadPort_mc._y = 300;
encadPort_mc._visible = true;
encadPort_mc.gotoAndPlay(1);
disc_mc._visible = true;
disc_mc._x = 700;
}
function encadAmphet() {
_root.attachMovie("encadAmphet", "encadAmphet_mc", 905);
encadAmphet_mc._x = 275;
encadAmphet_mc._y = 100;
encadAmphet_mc._visible = true;
if (_global.pot > 3) {
encadAmphet_mc.removeMovieClip();
trace("no More Amphet .... SHIT!");
} else {
switch (_global.pot) {
case 1 :
encadAmphet_mc.gotoAndStop(1);
return;
case 2 :
encadAmphet_mc.gotoAndStop(2);
return;
case 3 :
encadAmphet_mc.gotoAndStop(3);
}
}
}
_global.pot = 1;
function placement(nom, x, y, touch) {
if (touch == 0) {
nom._x = x;
nom._y = y;
nom._visible = true;
dockclik.start();
}
}
function hitresult(le_mc, a, le_logo) {
le_mc._visible = false;
le_mc._x = 1000;
_root["touche" + a] = 1;
le_logo.gotoAndStop(2);
}
function indock(g, le_mc, le_logo) {
if (_root["firstclic" + g] == 0) {
le_mc._x = 1000;
le_mc._visible = false;
_root["firstclic" + g] = 1;
dock_mc._visible = true;
le_logo._visible = true;
btndockclic = 1;
}
}
dockouv = new Sound([btndock_mc]);
dockouv.attachSound("dockopen");
dockfer = new Sound([btndock_mc]);
dockfer.attachSound("dockclose");
dockclik = new Sound([dock_mc]);
dockclik.attachSound("docktake");
dockclik.setVolume(60);
firstclic1 = 0;
firstclic2 = 0;
firstclic3 = 0;
firstclic4 = 0;
firstclic5 = 0;
touche1 = 0;
touche2 = 0;
touche3 = 0;
touche4 = 0;
touche5 = 0;
btndockclic = 0;
btndock_mc._alpha = 40;
dock_mc._alpha = 100;
cdlogo_mc._alpha = 70;
fillogo_mc._alpha = 70;
fichelogo_mc._alpha = 70;
boislogo_mc._alpha = 70;
clelogo_mc._alpha = 70;
dock_mc._visible = false;
cdlogo_mc._visible = false;
fillogo_mc._visible = false;
fichelogo_mc._visible = false;
boislogo_mc._visible = false;
clelogo_mc._visible = false;
btndock_mc.onPress = function () {
switch (btndockclic) {
case 0 :
dockouv.start();
dock_mc._visible = true;
if (firstclic1 == 1) {
cdlogo_mc._visible = true;
}
if (firstclic2 == 1) {
fillogo_mc._visible = true;
}
if (firstclic4 == 1) {
fichelogo_mc._visible = true;
}
if (firstclic3 == 1) {
boislogo_mc._visible = true;
}
if (firstclic5 == 1) {
clelogo_mc._visible = true;
}
btndockclic = 1;
return;
case 1 :
dockfer.start();
dock_mc._visible = false;
cdlogo_mc._visible = false;
if (firstclic1 == 1) {
disc_mc._visible = false;
}
fillogo_mc._visible = false;
if (firstclic2 == 1) {
cordon_mc._visible = false;
}
fichelogo_mc._visible = false;
if (firstclic4 == 1) {
fiche_mc._visible = false;
}
boislogo_mc._visible = false;
if (firstclic3 == 1) {
bbois_mc._visible = false;
}
clelogo_mc._visible = false;
if (firstclic5 == 1) {
cle_mc._visible = false;
}
btndockclic = 0;
}
};
boislogo_mc.onPress = function () {
placement(bbois_mc, 80, 320, touche3);
};
fillogo_mc.onPress = function () {
placement(cordon_mc, 80, 320, touche2);
};
cdlogo_mc.onPress = function () {
placement(disc_mc, 80, 320, touche1);
};
fichelogo_mc.onPress = function () {
placement(fiche_mc, 80, 320, touche4);
};
clelogo_mc.onPress = function () {
placement(cle_mc, 50, 320, touche5);
};
Symbol 120 MovieClip [cursor] Frame 1
stop();
Symbol 129 MovieClip [case_portable] Frame 6
stop();
this.onPress = function () {
_root.variation(16);
gotoAndPlay (7);
};
Symbol 129 MovieClip [case_portable] Frame 13
stop();
Symbol 137 MovieClip [case_commode] Frame 6
stop();
this.onPress = function () {
_root.variation(11);
_root.cordon_mc._visible = true;
this.gotoAndStop(7);
};
this.onRollOver = function () {
_root.changeCursor();
};
this.onRollOut = function () {
_root.changeCursor();
};
Symbol 137 MovieClip [case_commode] Frame 7
stop();
this.onPress = function () {
_root.variation(10);
gotoAndPlay (8);
};
this.onRollOver = function () {
_root.changeCursor();
};
this.onRollOut = function () {
_root.changeCursor();
};
Symbol 137 MovieClip [case_commode] Frame 13
stop();
Symbol 146 MovieClip [case_dossier] Frame 5
stop();
this.onPress = function () {
_root.variation(20);
gotoAndPlay (6);
};
this.onRollOver = function () {
_root.changeCursor();
};
this.onRollOut = function () {
_root.changeCursor();
};
Symbol 146 MovieClip [case_dossier] Frame 7
stop();
this.onPress = function () {
_root.variation(21);
_root.fiche_mc._visible = true;
gotoAndPlay (8);
};
this.onRollOver = function () {
_root.changeCursor();
};
this.onRollOut = function () {
_root.changeCursor();
};
Symbol 146 MovieClip [case_dossier] Frame 16
stop();
Symbol 155 MovieClip [radio_disc] Frame 6
stop();
this.onPress = function () {
_root.variation(14);
_root.disc_mc._visible = true;
gotoAndPlay (7);
};
this.onRollOver = function () {
_root.changeCursor();
};
this.onRollOut = function () {
_root.changeCursor();
};
Symbol 155 MovieClip [radio_disc] Frame 7
stop();
this.onPress = function () {
_root.variation(15);
gotoAndPlay (8);
};
this.onRollOver = function () {
_root.changeCursor();
};
this.onRollOut = function () {
_root.changeCursor();
};
Symbol 155 MovieClip [radio_disc] Frame 14
stop();
Symbol 164 MovieClip [case_casier] Frame 5
stop();
this.onPress = function () {
_root.variation(17);
this.gotoAndPlay(6);
};
this.onRollOver = function () {
_root.changeCursor();
};
this.onRollOut = function () {
_root.changeCursor();
};
Symbol 164 MovieClip [case_casier] Frame 8
stop();
this.onPress = function () {
if (_root.fiche_mc._visible == true) {
_root.variation(18);
gotoAndPlay (9);
} else {
_root.variation(19);
_root.variation(18);
_root.encadDossier();
gotoAndPlay (9);
}
};
this.onRollOver = function () {
_root.changeCursor();
};
this.onRollOut = function () {
_root.changeCursor();
};
Symbol 164 MovieClip [case_casier] Frame 15
stop();
Symbol 171 MovieClip Frame 5
stop();
this.onPress = function () {
_root.variation(1);
_root.reset();
_global.pot = 2;
this.gotoAndPlay(6);
};
this.onRollOver = function () {
_root.changeCursor();
};
this.onRollOut = function () {
_root.changeCursor();
};
Symbol 171 MovieClip Frame 12
stop();
Symbol 175 MovieClip Frame 5
stop();
this.onPress = function () {
_root.variation(1);
_root.reset();
_global.pot = 3;
this.gotoAndPlay(6);
};
this.onRollOver = function () {
_root.changeCursor();
};
this.onRollOut = function () {
_root.changeCursor();
};
Symbol 175 MovieClip Frame 12
stop();
Symbol 176 MovieClip Frame 5
stop();
this.onPress = function () {
_root.variation(1);
_root.reset();
_global.pot = 4;
this.gotoAndPlay(6);
};
this.onRollOver = function () {
_root.changeCursor();
};
this.onRollOut = function () {
_root.changeCursor();
};
Symbol 176 MovieClip Frame 12
stop();
Symbol 177 MovieClip [encadAmphet] Frame 1
stop();
Symbol 190 MovieClip [MCpano] Frame 1
MCdenied._visible = false;
MCgranted._visible = false;
INPUT_login.embedFonts(true);
ecouteur = new Object();
ecouteur.onKeyDown = function () {
if (Key.isDown(32)) {
if (INPUT_login.text == "karl84:221821") {
trace("code accept\u00E9");
MCdenied._visible = false;
MCgranted._visible = true;
_root.variation(24);
_root.portedessus = 1;
_root.touche4 = 1;
} else {
trace("code refus\u00E9");
MCdenied._visible = true;
MCgranted._visible = false;
}
}
};
Key.addListener(ecouteur);
Symbol 217 MovieClip Frame 1
_root.fen_mc._visible = true;
stop();
Symbol 217 MovieClip Frame 4
_root.fen_mc._visible = false;
stop();
Symbol 217 MovieClip Frame 7
_root.fen_mc._visible = false;
stop();
Symbol 217 MovieClip Frame 10
_root.fen_mc._visible = false;
stop();
Symbol 217 MovieClip Frame 13
_root.fen_mc._visible = true;
stop();
Symbol 217 MovieClip Frame 16
_root.fen_mc._visible = false;
stop();
Symbol 217 MovieClip Frame 19
_root.fen_mc._visible = false;
stop();
Symbol 217 MovieClip Frame 22
_root.fen_mc._visible = false;
stop();
Symbol 217 MovieClip Frame 25
_root.fen_mc._visible = true;
stop();
Symbol 242 MovieClip Frame 1
_root.fen_mc._visible = true;
stop();
Symbol 242 MovieClip Frame 4
_root.fen_mc._visible = false;
stop();
Symbol 242 MovieClip Frame 7
_root.fen_mc._visible = false;
stop();
Symbol 242 MovieClip Frame 10
_root.fen_mc._visible = false;
stop();
Symbol 242 MovieClip Frame 13
_root.fen_mc._visible = true;
stop();
Symbol 242 MovieClip Frame 16
_root.fen_mc._visible = false;
stop();
Symbol 242 MovieClip Frame 19
_root.fen_mc._visible = false;
stop();
Symbol 242 MovieClip Frame 22
_root.fen_mc._visible = false;
stop();
Symbol 242 MovieClip Frame 25
_root.fen_mc._visible = true;
stop();
Symbol 267 MovieClip Frame 1
_root.fen_mc._visible = true;
trace(fen_mc._visible);
stop();
Symbol 267 MovieClip Frame 4
_root.fen_mc._visible = false;
stop();
Symbol 267 MovieClip Frame 7
_root.fen_mc._visible = false;
stop();
Symbol 267 MovieClip Frame 10
_root.fen_mc._visible = false;
stop();
Symbol 267 MovieClip Frame 13
_root.fen_mc._visible = true;
stop();
Symbol 267 MovieClip Frame 16
_root.fen_mc._visible = false;
stop();
Symbol 267 MovieClip Frame 19
_root.fen_mc._visible = false;
stop();
Symbol 267 MovieClip Frame 22
_root.fen_mc._visible = false;
stop();
Symbol 267 MovieClip Frame 25
_root.fen_mc._visible = true;
stop();
Symbol 292 MovieClip Frame 1
_root.fen_mc._visible = true;
stop();
Symbol 292 MovieClip Frame 4
_root.fen_mc._visible = false;
stop();
Symbol 292 MovieClip Frame 7
_root.fen_mc._visible = false;
stop();
Symbol 292 MovieClip Frame 10
_root.fen_mc._visible = false;
stop();
Symbol 292 MovieClip Frame 13
_root.fen_mc._visible = true;
stop();
Symbol 292 MovieClip Frame 16
_root.fen_mc._visible = false;
stop();
Symbol 292 MovieClip Frame 19
_root.fen_mc._visible = false;
stop();
Symbol 292 MovieClip Frame 22
_root.fen_mc._visible = false;
stop();
Symbol 292 MovieClip Frame 25
_root.fen_mc._visible = true;
stop();
Symbol 329 MovieClip Frame 1
_root.fen_mc._visible = true;
trace(fen_mc._visible);
stop();
Symbol 329 MovieClip Frame 4
_root.fen_mc._visible = false;
stop();
Symbol 329 MovieClip Frame 7
_root.fen_mc._visible = false;
stop();
Symbol 329 MovieClip Frame 10
_root.fen_mc._visible = false;
stop();
Symbol 329 MovieClip Frame 13
_root.fen_mc._visible = true;
stop();
Symbol 329 MovieClip Frame 16
_root.fen_mc._visible = false;
stop();
Symbol 329 MovieClip Frame 19
_root.fen_mc._visible = false;
stop();
Symbol 329 MovieClip Frame 22
_root.fen_mc._visible = false;
stop();
Symbol 329 MovieClip Frame 25
_root.fen_mc._visible = true;
stop();
Symbol 366 MovieClip Frame 1
_root.fen_mc._visible = true;
stop();
Symbol 366 MovieClip Frame 4
_root.fen_mc._visible = false;
stop();
Symbol 366 MovieClip Frame 7
_root.fen_mc._visible = false;
stop();
Symbol 366 MovieClip Frame 10
_root.fen_mc._visible = false;
stop();
Symbol 366 MovieClip Frame 13
_root.fen_mc._visible = true;
stop();
Symbol 366 MovieClip Frame 16
_root.fen_mc._visible = false;
stop();
Symbol 366 MovieClip Frame 19
_root.fen_mc._visible = false;
stop();
Symbol 366 MovieClip Frame 22
_root.fen_mc._visible = false;
stop();
Symbol 366 MovieClip Frame 25
_root.fen_mc._visible = true;
stop();
Symbol 367 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 1
_root.claire();
_root.sourde();
stop();
Symbol 372 MovieClip Frame 2
_root.claire();
_root.sourde();
Symbol 372 MovieClip Frame 3
_root.claire();
_root.sourde();
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 8
_root.loadMovie("generique.swf");
this.stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 414 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 1
stop();
Symbol 434 MovieClip Frame 1
stop();
Symbol 444 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 1
_root.variation(28);
Symbol 492 MovieClip Frame 6
stop();
Symbol 493 MovieClip Frame 1
stop();
Symbol 493 MovieClip Frame 19
_root.variation(5);
this.gotoAndStop(1);
Symbol 539 MovieClip Frame 1
_root.variation(28);
Symbol 539 MovieClip Frame 6
stop();
Symbol 540 MovieClip Frame 1
stop();
Symbol 540 MovieClip Frame 17
_root.variation(5);
this.gotoAndStop(1);
Symbol 590 MovieClip Frame 1
_root.variation(28);
Symbol 590 MovieClip Frame 6
stop();
Symbol 591 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 17
_root.variation(5);
this.gotoAndStop(1);
Symbol 592 MovieClip Frame 1
stop();
Symbol 602 MovieClip Frame 1
stop();
Symbol 609 MovieClip Frame 1
stop();
Symbol 609 MovieClip Frame 3
stop();
Symbol 616 MovieClip Frame 1
stop();
Symbol 616 MovieClip Frame 3
stop();
Symbol 632 MovieClip Frame 1
stop();
Symbol 632 MovieClip Frame 3
stop();
Symbol 633 MovieClip Frame 1
stop();
Symbol 634 MovieClip Frame 1
_root.breathe();
stop();
Symbol 634 MovieClip Frame 2
_root.breathe();
Symbol 634 MovieClip Frame 3
_root.breathe();
Symbol 634 MovieClip Frame 4
_root.breathe();
Symbol 634 MovieClip Frame 5
_root.breathe();
Symbol 641 MovieClip Frame 1
stop();
Symbol 648 MovieClip Frame 1
stop();
Symbol 655 MovieClip Frame 1
stop();
Symbol 662 MovieClip Frame 1
stop();
Symbol 669 MovieClip Frame 1
stop();
Symbol 673 MovieClip Frame 1
stop();
Symbol 675 MovieClip Frame 1
stop();
Symbol 677 MovieClip Frame 1
stop();
Symbol 679 MovieClip Frame 1
stop();
Symbol 680 MovieClip Frame 1
stop();