Section 1
//MainTimeline (DreamJob2_2_fla.MainTimeline)
package DreamJob2_2_fla {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var v2_3:MovieClip;
public var v1_6:MovieClip;
public var btRep3:MovieClip;
public var v2_4:MovieClip;
public var v1_7:MovieClip;
public var btNext:SimpleButton;
public var v1_8:MovieClip;
public var btFr:SimpleButton;
public var v1_9:MovieClip;
public var v1_10:MovieClip;
public var lblQuestion:TextField;
public var lblInstru:TextField;
public var bt1:MovieClip;
public var lblDialog:MovieClip;
public var v1_0:MovieClip;
public var bt2:MovieClip;
public var v1_1:MovieClip;
public var v0_0:MovieClip;
public var btEn:SimpleButton;
public var bt3:MovieClip;
public var v1_2:MovieClip;
public var v0_1:MovieClip;
public var v2_0:MovieClip;
public var v1_3:MovieClip;
public var v0_2:MovieClip;
public var btLogo:SimpleButton;
public var v2_1:MovieClip;
public var v1_4:MovieClip;
public var v0_3:MovieClip;
public var btRep1:MovieClip;
public var v2_2:MovieClip;
public var v1_5:MovieClip;
public var btRep2:MovieClip;
public var charge;
public var En;
public var vol;
public var zone1;
public var zone2;
public var zone3;
public var strPerdu;
public var pgSuiv;
public var TCbt1;
public var TCbt2;
public var TCbt3;
public var tcPerdu;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48);
}
public function loadProgress(_arg1:Event){
var _local2:int = this.root.loaderInfo.bytesLoaded;
var _local3:int = this.root.loaderInfo.bytesTotal;
var _local4:int = ((100 * _local2) / _local3);
if (En){
lblDialog.txt.text = (("Please Wait: " + _local4) + "%");
} else {
lblDialog.txt.text = (("Patientez: " + _local4) + "%");
};
if (_local2 >= _local3){
charge = true;
removeEventListener(Event.ENTER_FRAME, loadProgress);
btNext.visible = true;
lblDialog.visible = false;
affText();
if (En){
lblInstru.text = "Click on NEXT to start.";
} else {
lblInstru.text = "Cliquer sur NEXT pour commencer.";
};
};
}
public function btEnClick(_arg1:MouseEvent){
if (!En){
En = true;
affText();
};
}
public function btFrClick(_arg1:MouseEvent){
if (En){
En = false;
affText();
};
}
public function affText(){
if (charge){
if (lblInstru.text != ""){
if (En){
lblInstru.text = "Click on NEXT.";
} else {
lblInstru.text = "Cliquer sur NEXT.";
};
};
};
}
public function fixBtRep(){
SoundMixer.soundTransform = new SoundTransform(0);
if (En){
lblInstru.text = "Choose one answer.";
} else {
lblInstru.text = "Choisir une réponse.";
};
lblQuestion.visible = true;
lblDialog.visible = false;
lblDialog.txt.text = "";
bt1.visible = (bt2.visible = (bt3.visible = false));
lblInstru.visible = true;
btNext.visible = false;
btRep3.mouseChildren = (btRep2.mouseChildren = (btRep1.mouseChildren = false));
btRep3.buttonMode = (btRep2.buttonMode = (btRep1.buttonMode = true));
btRep3.useHandCursor = (btRep2.useHandCursor = (btRep1.useHandCursor = true));
if (btRep1.txt.text == ""){
btRep1.visible = false;
} else {
btRep1.visible = true;
btRep1.addEventListener(MouseEvent.CLICK, btRep1_Click);
};
if (btRep2.txt.text == ""){
btRep2.visible = false;
} else {
btRep2.visible = true;
btRep2.addEventListener(MouseEvent.CLICK, btRep2_Click);
};
if (btRep3.txt.text == ""){
btRep3.visible = false;
} else {
btRep3.visible = true;
btRep3.addEventListener(MouseEvent.CLICK, btRep3_Click);
};
}
public function btRep1_Click(_arg1:MouseEvent){
btRep1.removeEventListener(MouseEvent.CLICK, btRep1_Click);
btRep2.removeEventListener(MouseEvent.CLICK, btRep2_Click);
btRep3.removeEventListener(MouseEvent.CLICK, btRep3_Click);
lblInstru.visible = false;
vidZone();
gotoAndStop(TCbt1);
}
public function btRep2_Click(_arg1:MouseEvent){
btRep1.removeEventListener(MouseEvent.CLICK, btRep1_Click);
btRep2.removeEventListener(MouseEvent.CLICK, btRep2_Click);
btRep3.removeEventListener(MouseEvent.CLICK, btRep3_Click);
lblInstru.visible = false;
vidZone();
gotoAndStop(TCbt2);
}
public function btRep3_Click(_arg1:MouseEvent){
btRep1.removeEventListener(MouseEvent.CLICK, btRep1_Click);
btRep2.removeEventListener(MouseEvent.CLICK, btRep2_Click);
btRep3.removeEventListener(MouseEvent.CLICK, btRep3_Click);
lblInstru.visible = false;
vidZone();
gotoAndStop(TCbt3);
}
public function naration(){
SoundMixer.soundTransform = new SoundTransform(0);
stop();
lblQuestion.text = "";
lblInstru.visible = (lblDialog.visible = true);
pgSuiv = (this.currentFrame + 1);
btNext.visible = true;
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
bt1.visible = (bt2.visible = (bt3.visible = false));
if (En){
lblInstru.text = "Click on NEXT to continue.";
} else {
lblInstru.text = "Cliquer sur NEXT pour continuer.";
};
}
public function vidZone(){
SoundMixer.soundTransform = new SoundTransform(0);
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
bt1.visible = (bt2.visible = (bt3.visible = false));
lblDialog.visible = (btNext.visible = false);
lblInstru.text = "";
}
public function btNext_Click(_arg1:MouseEvent){
gotoAndStop(pgSuiv);
lblDialog.gotoAndStop(1);
btNext.visible = false;
bt1.visible = (bt2.visible = (bt3.visible = false));
}
public function bt1Click(_arg1:MouseEvent){
bt1.removeEventListener(MouseEvent.CLICK, bt1Click);
bt2.removeEventListener(MouseEvent.CLICK, bt2Click);
bt3.removeEventListener(MouseEvent.CLICK, bt3Click);
bt1.visible = (bt2.visible = (bt3.visible = false));
lblInstru.text = "";
gotoAndStop(TCbt1);
vidZone();
}
public function bt2Click(_arg1:MouseEvent){
bt1.removeEventListener(MouseEvent.CLICK, bt1Click);
bt2.removeEventListener(MouseEvent.CLICK, bt2Click);
bt3.removeEventListener(MouseEvent.CLICK, bt3Click);
bt1.visible = (bt2.visible = (bt3.visible = false));
lblInstru.text = "";
gotoAndStop(TCbt2);
vidZone();
}
public function bt3Click(_arg1:MouseEvent){
bt1.removeEventListener(MouseEvent.CLICK, bt1Click);
bt2.removeEventListener(MouseEvent.CLICK, bt2Click);
bt3.removeEventListener(MouseEvent.CLICK, bt3Click);
bt1.visible = (bt2.visible = (bt3.visible = false));
lblInstru.text = "";
gotoAndStop(TCbt3);
vidZone();
}
public function linkFSGClick(_arg1:MouseEvent){
var _local2:* = "http://fr.free-strip-games.com/";
if (En){
_local2 = "http://www.free-strip-games.com/";
};
var _local3:URLRequest = new URLRequest(_local2);
navigateToURL(_local3, "_blank");
}
public function v0_0Event(_arg1:Event){
if (v0_0.currentFrame >= v0_0.totalFrames){
v0_0.removeEventListener(Event.ENTER_FRAME, v0_0Event);
v0_0.stop();
if (En){
lblQuestion.text = "Hi, you must be the new gym teacher?";
btRep1.txt.text = "No, I'm here to fix the heater";
btRep2.txt.text = "Yes, I'm late, we should start.";
btRep3.txt.text = "";
} else {
lblQuestion.text = "Salut, tu dois être le nouveau prof de gym?";
btRep1.txt.text = "Non, je suis là pour réparer le radiateur.";
btRep2.txt.text = "Oui, on devrait commencer.";
btRep3.txt.text = "";
};
fixBtRep();
};
}
public function v0_1Event(_arg1:Event){
if (v0_1.currentFrame >= v0_1.totalFrames){
v0_1.removeEventListener(Event.ENTER_FRAME, v0_1Event);
v0_1.stop();
TCbt1 = 17;
TCbt2 = 19;
if (En){
lblQuestion.text = "Do I do it right?";
btRep1.txt.text = "Not sure, I think so...";
btRep2.txt.text = "Not bad, more on the legs.";
} else {
lblQuestion.text = "C'est bien comme ça?";
btRep1.txt.text = "Oui, enfin je crois.";
btRep2.txt.text = "Pas mal, insiste sur les jambes.";
};
btRep3.txt.text = "";
fixBtRep();
};
}
public function v0_2Event(_arg1:Event){
if (v0_2.currentFrame >= v0_2.totalFrames){
v0_2.removeEventListener(Event.ENTER_FRAME, v0_2Event);
v0_2.stop();
vidZone();
lblInstru.visible = true;
if (En){
lblInstru.text = "Click on the picture to play";
} else {
lblInstru.text = "Cliquez sur l'image";
};
bt1.visible = true;
TCbt1 = (this.currentFrame + 1);
bt1.addEventListener(MouseEvent.CLICK, bt1Click);
};
}
public function v0_3Event(_arg1:Event){
if (v0_3.currentFrame >= v0_3.totalFrames){
v0_3.removeEventListener(Event.ENTER_FRAME, v0_3Event);
v0_3.stop();
vidZone();
lblInstru.visible = true;
if (En){
lblInstru.text = "Click on the picture to play";
} else {
lblInstru.text = "Cliquez sur l'image";
};
bt1.visible = true;
TCbt1 = (this.currentFrame + 1);
bt1.addEventListener(MouseEvent.CLICK, bt1Click);
};
}
public function v1_0Event(_arg1:Event){
if (v1_0.currentFrame >= v1_0.totalFrames){
v1_0.removeEventListener(Event.ENTER_FRAME, v1_0Event);
v1_0.stop();
TCbt1 = 24;
TCbt2 = 22;
TCbt3 = 10;
if (En){
lblQuestion.text = "I'm warm enough now!";
btRep1.txt.text = "Time to work out then.";
btRep2.txt.text = "OK, get naked then.";
} else {
lblQuestion.text = "Je crois que je suis bien chaude maintenant!";
btRep1.txt.text = "Passons aux choses sérieuses.";
btRep2.txt.text = "Déshabille toi alors.";
};
btRep3.txt.text = "";
fixBtRep();
};
}
public function v1_1Event(_arg1:Event){
if (v1_1.currentFrame >= v1_1.totalFrames){
zone1 = true;
v1_1.removeEventListener(Event.ENTER_FRAME, v1_1Event);
v1_1.stop();
naration();
lblDialog.visible = false;
if (((((zone1) && (zone2))) && (zone3))){
zone1 = (zone2 = (zone3 = false));
pgSuiv = 28;
} else {
pgSuiv = 24;
};
};
}
public function v1_2Event(_arg1:Event){
if (v1_2.currentFrame >= v1_2.totalFrames){
zone2 = true;
v1_2.removeEventListener(Event.ENTER_FRAME, v1_2Event);
v1_2.stop();
naration();
lblDialog.visible = false;
if (((((zone1) && (zone2))) && (zone3))){
zone1 = (zone2 = (zone3 = false));
pgSuiv = 28;
} else {
pgSuiv = 24;
};
};
}
public function v1_3Event(_arg1:Event){
if (v1_3.currentFrame >= v1_3.totalFrames){
zone3 = true;
v1_3.removeEventListener(Event.ENTER_FRAME, v1_3Event);
v1_3.stop();
naration();
lblDialog.visible = false;
if (((((zone1) && (zone2))) && (zone3))){
zone1 = (zone2 = (zone3 = false));
pgSuiv = 28;
} else {
pgSuiv = 24;
};
};
}
public function v1_4Event(_arg1:Event){
if (v1_4.currentFrame >= v1_4.totalFrames){
zone1 = true;
v1_4.removeEventListener(Event.ENTER_FRAME, v1_4Event);
v1_4.stop();
naration();
lblDialog.visible = false;
if (((((zone1) && (zone2))) && (zone3))){
zone1 = (zone2 = (zone3 = false));
pgSuiv = 33;
} else {
pgSuiv = 29;
};
};
}
public function v1_5Event(_arg1:Event){
if (v1_5.currentFrame >= v1_5.totalFrames){
zone2 = true;
v1_5.removeEventListener(Event.ENTER_FRAME, v1_5Event);
v1_5.stop();
naration();
lblDialog.visible = false;
if (((((zone1) && (zone2))) && (zone3))){
zone1 = (zone2 = (zone3 = false));
pgSuiv = 33;
} else {
pgSuiv = 29;
};
};
}
public function v1_6Event(_arg1:Event){
if (v1_6.currentFrame >= v1_6.totalFrames){
zone3 = true;
v1_6.removeEventListener(Event.ENTER_FRAME, v1_6Event);
v1_6.stop();
naration();
lblDialog.visible = false;
if (((((zone1) && (zone2))) && (zone3))){
zone1 = (zone2 = (zone3 = false));
pgSuiv = 33;
} else {
pgSuiv = 29;
};
};
}
public function v1_7Event(_arg1:Event){
if (v1_7.currentFrame >= v1_7.totalFrames){
zone1 = true;
v1_7.removeEventListener(Event.ENTER_FRAME, v1_7Event);
v1_7.stop();
naration();
lblDialog.visible = false;
if (((zone1) && (zone2))){
zone1 = (zone2 = (zone3 = false));
pgSuiv = 36;
} else {
pgSuiv = 33;
};
};
}
public function v1_8Event(_arg1:Event){
if (v1_8.currentFrame >= v1_8.totalFrames){
zone2 = true;
v1_8.removeEventListener(Event.ENTER_FRAME, v1_8Event);
v1_8.stop();
naration();
lblDialog.visible = false;
if (((zone1) && (zone2))){
zone1 = (zone2 = (zone3 = false));
pgSuiv = 36;
} else {
pgSuiv = 33;
};
};
}
public function v1_9Event(_arg1:Event){
if (v1_9.currentFrame >= v1_9.totalFrames){
v1_9.removeEventListener(Event.ENTER_FRAME, v1_9Event);
v1_9.stop();
TCbt1 = 37;
TCbt2 = 23;
TCbt3 = 10;
if (En){
lblQuestion.text = "Time for a little break?";
btRep1.txt.text = "As you wish";
} else {
lblQuestion.text = "Je suis crevée, on fait une pause?";
btRep1.txt.text = "Si tu veux.";
};
btRep2.txt.text = "";
btRep3.txt.text = "";
fixBtRep();
};
}
public function v1_10Event(_arg1:Event){
if (v1_10.currentFrame >= v1_10.totalFrames){
zone1 = true;
v1_10.removeEventListener(Event.ENTER_FRAME, v1_10Event);
v1_10.stop();
naration();
lblDialog.visible = false;
pgSuiv = 37;
};
}
public function v2_0Event(_arg1:Event){
if (v2_0.currentFrame >= v2_0.totalFrames){
zone1 = true;
v2_0.removeEventListener(Event.ENTER_FRAME, v2_0Event);
v2_0.stop();
naration();
lblDialog.visible = false;
pgSuiv = (this.currentFrame + 1);
};
}
public function v2_1Event(_arg1:Event){
if (v2_1.currentFrame >= v2_1.totalFrames){
v2_1.removeEventListener(Event.ENTER_FRAME, v2_1Event);
v2_1.stop();
vidZone();
lblInstru.visible = true;
if (En){
lblInstru.text = "Click on the picture to play";
} else {
lblInstru.text = "Cliquez sur l'image";
};
bt1.visible = true;
TCbt1 = (this.currentFrame + 1);
bt1.addEventListener(MouseEvent.CLICK, bt1Click);
};
}
public function v2_2Event(_arg1:Event){
if (v2_2.currentFrame >= v2_2.totalFrames){
v2_2.removeEventListener(Event.ENTER_FRAME, v2_2Event);
v2_2.stop();
vidZone();
lblInstru.visible = true;
if (En){
lblInstru.text = "Click on the picture to play";
} else {
lblInstru.text = "Cliquez sur l'image";
};
bt1.visible = true;
TCbt1 = (this.currentFrame + 1);
bt1.addEventListener(MouseEvent.CLICK, bt1Click);
};
}
public function v2_3Event(_arg1:Event){
if (v2_3.currentFrame >= v2_3.totalFrames){
zone1 = true;
v2_3.removeEventListener(Event.ENTER_FRAME, v2_3Event);
v2_3.stop();
naration();
lblDialog.visible = false;
pgSuiv = (this.currentFrame + 1);
};
}
public function v2_4Event(_arg1:Event){
if (v2_4.currentFrame >= v2_4.totalFrames){
zone1 = true;
v2_4.removeEventListener(Event.ENTER_FRAME, v2_4Event);
v2_4.stop();
naration();
lblDialog.visible = false;
pgSuiv = (this.currentFrame + 1);
};
}
function frame1(){
charge = false;
En = true;
vol = 1;
zone1 = false;
zone2 = false;
zone3 = false;
strPerdu = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
lblQuestion.text = "";
btEn.addEventListener(MouseEvent.CLICK, btEnClick);
btFr.addEventListener(MouseEvent.CLICK, btFrClick);
lblInstru.text = "";
lblDialog.gotoAndStop(1);
pgSuiv = 27;
TCbt1 = 0;
TCbt2 = 0;
TCbt3 = 0;
tcPerdu = 20;
btNext.visible = false;
addEventListener(Event.ENTER_FRAME, loadProgress);
btNext.addEventListener(MouseEvent.CLICK, btNext_Click);
btLogo.addEventListener(MouseEvent.MOUSE_UP, linkFSGClick);
}
function frame2(){
stop();
SoundMixer.soundTransform = new SoundTransform(0);
zone1 = false;
pgSuiv = 7;
}
function frame7(){
if (En){
lblDialog.txt.text = "It's the beginning of your second week as a handy man at the girls college dorm";
} else {
lblDialog.txt.text = "Vous débutez votre deuxième semaine comme homme à tout faire à l'internat.";
};
naration();
}
function frame8(){
if (En){
lblDialog.txt.text = "You have your weekly meeting with your supervisor, Miss Trick to talk about your duties.";
} else {
lblDialog.txt.text = "Vous devez rencontrer Mlle Seck pour qu'elle vous confie vos tâches de la semaine.";
};
naration();
}
function frame9(){
naration();
if (En){
lblQuestion.text = "Go to fix the heater in the gym. It's freezing in there.";
} else {
lblQuestion.text = "Réparez le radiateur de la salle de gym, il y fait très froid.";
};
lblDialog.visible = false;
}
function frame10(){
TCbt1 = 11;
TCbt2 = 15;
TCbt3 = 10;
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
lblQuestion.text = "";
SoundMixer.soundTransform = new SoundTransform(vol);
v0_0.gotoAndPlay(1);
v0_0.addEventListener(Event.ENTER_FRAME, v0_0Event);
}
function frame11(){
TCbt1 = 14;
TCbt2 = 12;
TCbt3 = 10;
if (En){
lblQuestion.text = "Great! It's really cold in here!";
btRep1.txt.text = "Begin to warm up, it should help.";
btRep2.txt.text = "I'll try to fix it.";
} else {
lblQuestion.text = "C'est une bonne chose, il fait super froid ici.";
btRep1.txt.text = "Commence à t'échauffer, ça ira mieux.";
btRep2.txt.text = "Je vais essayer de régler ça.";
};
btRep3.txt.text = "";
fixBtRep();
}
function frame12(){
TCbt1 = 14;
TCbt2 = 13;
TCbt3 = 10;
if (En){
lblQuestion.text = "OK but my teacher's still not here. I think he won't show up, I'll go.";
btRep1.txt.text = "Wait, I've been a gym teacher, I can help.";
btRep2.txt.text = "Fine, see you later.";
} else {
lblQuestion.text = "OK mais mon prof n'est pas là et je crois qu'il ne viendra pas. Je vais y aller.";
btRep1.txt.text = "J'ai été prof de gym, je peux t'aider.";
btRep2.txt.text = "OK, à plus.";
};
btRep3.txt.text = "";
fixBtRep();
}
function frame13(){
TCbt1 = 10;
TCbt2 = 12;
TCbt3 = 10;
if (En){
lblQuestion.text = "She's gone and you stay alone...";
btRep1.txt.text = "-Start again-";
} else {
lblQuestion.text = "Elle est partie, vous restez seul...";
btRep1.txt.text = "-Réessayer-";
};
btRep2.txt.text = "";
btRep3.txt.text = "";
fixBtRep();
}
function frame14(){
TCbt1 = 17;
TCbt2 = 18;
TCbt3 = 10;
if (En){
lblQuestion.text = "OK but what do I do?";
btRep1.txt.text = "I don't knnow, as you wish.";
btRep2.txt.text = "First legs, then upper body.";
} else {
lblQuestion.text = "OK mais je fais quoi?";
btRep1.txt.text = "Je sais pas, débrouille-toi.";
btRep2.txt.text = "D'abord les jambes ensuite les bras.";
};
btRep3.txt.text = "";
fixBtRep();
}
function frame15(){
TCbt1 = 16;
TCbt2 = 12;
TCbt3 = 10;
if (En){
lblQuestion.text = "My name's Sharon. Let's start - I'm freezing!";
btRep1.txt.text = "Let's warm up then.";
btRep2.txt.text = "In fact, I'm here for the heater.";
} else {
lblQuestion.text = "Super, Je m'appelle Sharon, on commence? Il fait super froid!";
btRep1.txt.text = "On va faire un petit échauffement.";
btRep2.txt.text = "En fait je viens pour réparer le chauffage.";
};
btRep3.txt.text = "";
fixBtRep();
}
function frame16(){
TCbt1 = 18;
TCbt2 = 17;
TCbt3 = 10;
if (En){
lblQuestion.text = "Nice, Legs first, upper body then?";
btRep1.txt.text = "Exactly.";
btRep2.txt.text = "If you find it funny.";
} else {
lblQuestion.text = "Génial, d'abord les jambes puis le haut du corps?";
btRep1.txt.text = "Exactement!";
btRep2.txt.text = "Si ça t'amuse...";
};
btRep3.txt.text = "";
fixBtRep();
}
function frame17(){
naration();
if (En){
lblQuestion.text = "You call yourself a teacher? Bye!";
} else {
lblQuestion.text = "Tu parles d'un prof! Ciao!";
};
lblDialog.visible = false;
pgSuiv = 13;
}
function frame18(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v0_1.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v0_1.addEventListener(Event.ENTER_FRAME, v0_1Event);
}
function frame19(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v0_2.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v0_2.addEventListener(Event.ENTER_FRAME, v0_2Event);
}
function frame20(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v0_3.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v0_3.addEventListener(Event.ENTER_FRAME, v0_3Event);
}
function frame21(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v1_0.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v1_0.addEventListener(Event.ENTER_FRAME, v1_0Event);
}
function frame22(){
TCbt1 = 24;
TCbt2 = 23;
TCbt3 = 10;
if (En){
lblQuestion.text = "What are you speaking about?";
btRep1.txt.text = "Just joking, let's exercice.";
btRep2.txt.text = "I know the girls here!";
} else {
lblQuestion.text = "Qu'est ce que tu racontes?";
btRep1.txt.text = "Rien on passe aux exercices.";
btRep2.txt.text = "Je connais les filles d'ici.";
};
btRep3.txt.text = "";
fixBtRep();
}
function frame23(){
TCbt1 = 21;
TCbt2 = 12;
TCbt3 = 10;
zone1 = false;
zone2 = false;
zone3 = false;
if (En){
lblQuestion.text = "She's gone and you stay alone...";
btRep1.txt.text = "-Start again-";
} else {
lblQuestion.text = "Elle est partie, vous restez seul...";
btRep1.txt.text = "-Réessayer-";
};
btRep2.txt.text = "";
btRep3.txt.text = "";
fixBtRep();
}
function frame24(){
vidZone();
lblInstru.visible = true;
if (En){
lblInstru.text = "Click on the picture to play";
} else {
lblInstru.text = "Cliquez sur l'image";
};
bt1.visible = !(zone1);
TCbt1 = (this.currentFrame + 1);
if (!zone1){
bt1.addEventListener(MouseEvent.CLICK, bt1Click);
};
bt2.visible = !(zone2);
TCbt2 = (this.currentFrame + 2);
if (!zone2){
bt2.addEventListener(MouseEvent.CLICK, bt2Click);
};
bt3.visible = !(zone3);
TCbt3 = (this.currentFrame + 3);
if (!zone3){
bt3.addEventListener(MouseEvent.CLICK, bt3Click);
};
}
function frame25(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v1_1.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v1_1.addEventListener(Event.ENTER_FRAME, v1_1Event);
}
function frame26(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v1_2.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v1_2.addEventListener(Event.ENTER_FRAME, v1_2Event);
}
function frame27(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v1_3.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v1_3.addEventListener(Event.ENTER_FRAME, v1_3Event);
}
function frame28(){
zone1 = false;
zone2 = false;
zone3 = false;
TCbt1 = 29;
TCbt2 = 18;
TCbt3 = 10;
if (En){
lblQuestion.text = "Do I do it right?";
btRep1.txt.text = "Perfect! Lie down now.";
} else {
lblQuestion.text = "Je m'en sors bien?";
btRep1.txt.text = "Très bien, allonge toi.";
};
btRep2.txt.text = "";
btRep3.txt.text = "";
fixBtRep();
}
function frame29(){
vidZone();
lblInstru.visible = true;
if (En){
lblInstru.text = "Click on the picture to play";
} else {
lblInstru.text = "Cliquez sur l'image";
};
bt1.visible = !(zone1);
TCbt1 = (this.currentFrame + 1);
if (!zone1){
bt1.addEventListener(MouseEvent.CLICK, bt1Click);
};
bt2.visible = !(zone2);
TCbt2 = (this.currentFrame + 2);
if (!zone2){
bt2.addEventListener(MouseEvent.CLICK, bt2Click);
};
bt3.visible = !(zone3);
TCbt3 = (this.currentFrame + 3);
if (!zone3){
bt3.addEventListener(MouseEvent.CLICK, bt3Click);
};
}
function frame30(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v1_4.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v1_4.addEventListener(Event.ENTER_FRAME, v1_4Event);
}
function frame31(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v1_5.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v1_5.addEventListener(Event.ENTER_FRAME, v1_5Event);
}
function frame32(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v1_6.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v1_6.addEventListener(Event.ENTER_FRAME, v1_6Event);
}
function frame33(){
vidZone();
lblInstru.visible = true;
if (En){
lblInstru.text = "Click on the picture to play";
} else {
lblInstru.text = "Cliquez sur l'image";
};
bt1.visible = !(zone1);
TCbt1 = (this.currentFrame + 1);
if (!zone1){
bt1.addEventListener(MouseEvent.CLICK, bt1Click);
};
bt2.visible = !(zone2);
TCbt2 = (this.currentFrame + 2);
if (!zone2){
bt2.addEventListener(MouseEvent.CLICK, bt2Click);
};
}
function frame34(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v1_7.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v1_7.addEventListener(Event.ENTER_FRAME, v1_7Event);
}
function frame35(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v1_8.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v1_8.addEventListener(Event.ENTER_FRAME, v1_8Event);
}
function frame36(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v1_9.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v1_9.addEventListener(Event.ENTER_FRAME, v1_9Event);
}
function frame37(){
vidZone();
lblInstru.visible = true;
if (En){
lblInstru.text = "Click on the picture to play";
} else {
lblInstru.text = "Cliquez sur l'image";
};
bt1.visible = !(zone1);
TCbt1 = (this.currentFrame + 1);
if (!zone1){
bt1.addEventListener(MouseEvent.CLICK, bt1Click);
};
bt2.visible = zone1;
TCbt2 = 41;
if (zone1){
bt2.addEventListener(MouseEvent.CLICK, bt2Click);
zone1 = false;
};
bt3.visible = true;
TCbt3 = (this.currentFrame + 2);
bt3.addEventListener(MouseEvent.CLICK, bt3Click);
}
function frame38(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v1_10.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v1_10.addEventListener(Event.ENTER_FRAME, v1_10Event);
}
function frame39(){
naration();
if (En){
lblQuestion.text = "Ohh, don't go too fast!";
} else {
lblQuestion.text = "Calme toi un peu!";
};
lblDialog.visible = false;
pgSuiv = 40;
}
function frame40(){
TCbt1 = 36;
TCbt2 = 12;
TCbt3 = 10;
zone1 = false;
zone2 = false;
zone3 = false;
if (En){
lblQuestion.text = "She's gone and you stay alone...";
btRep1.txt.text = "-Start again-";
} else {
lblQuestion.text = "Elle est partie, vous restez seul...";
btRep1.txt.text = "-Réessayer-";
};
btRep2.txt.text = "";
btRep3.txt.text = "";
fixBtRep();
}
function frame41(){
vidZone();
lblInstru.visible = true;
if (En){
lblInstru.text = "Click on the picture to play";
} else {
lblInstru.text = "Cliquez sur l'image";
};
bt1.visible = true;
TCbt1 = (this.currentFrame + 1);
bt1.addEventListener(MouseEvent.CLICK, bt1Click);
}
function frame42(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v2_0.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v2_0.addEventListener(Event.ENTER_FRAME, v2_0Event);
}
function frame43(){
vidZone();
lblInstru.visible = true;
if (En){
lblInstru.text = "Click on the picture to play";
} else {
lblInstru.text = "Cliquez sur l'image";
};
bt1.visible = true;
TCbt1 = (this.currentFrame + 1);
bt1.addEventListener(MouseEvent.CLICK, bt1Click);
}
function frame44(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v2_1.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v2_1.addEventListener(Event.ENTER_FRAME, v2_1Event);
}
function frame45(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v2_2.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v2_2.addEventListener(Event.ENTER_FRAME, v2_2Event);
}
function frame46(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v2_3.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v2_3.addEventListener(Event.ENTER_FRAME, v2_3Event);
}
function frame47(){
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
vidZone();
v2_4.gotoAndPlay(1);
SoundMixer.soundTransform = new SoundTransform(vol);
lblQuestion.text = "";
btRep1.visible = (btRep2.visible = (btRep3.visible = false));
v2_4.addEventListener(Event.ENTER_FRAME, v2_4Event);
}
function frame48(){
TCbt1 = 10;
TCbt2 = 12;
TCbt3 = 10;
zone1 = false;
zone2 = false;
zone3 = false;
if (En){
lblQuestion.text = "Well done, very good job again!.";
btRep1.txt.text = "-Continue-";
} else {
lblQuestion.text = "Bien joué, vous avez gagné.";
btRep1.txt.text = "-Continuer-";
};
btRep2.txt.text = "";
btRep3.txt.text = "";
fixBtRep();
}
}
}//package DreamJob2_2_fla