home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 164
/
MOBICLIC164.ISO
/
pc
/
DATA
/
TST164
/
TST164_00
/
TST164_00.swf
/
scripts
/
frame_30
/
DoAction.as
Wrap
Text File
|
2014-05-13
|
23KB
|
722 lines
function adapteImage(myC, pFin)
{
cadreWidth += 2;
cadreHeight += 2;
if(pFin == undefined)
{
general_width = 280;
general_height = 280;
pCentW = cadreWidth * 100 / general_width;
pCentH = cadreHeight * 100 / general_height;
if(myC.zone !== undefined)
{
var _loc5_ = myC.zone;
}
else
{
_loc5_ = myC;
}
if(_loc5_._width > _loc5_._height)
{
var _loc2_ = cadreWidth * 100 / _loc5_._width;
if(_loc5_._height * _loc2_ / 100 > cadreHeight)
{
_loc2_ = cadreHeight * 100 / _loc5_._height;
}
}
else
{
_loc2_ = cadreHeight * 100 / _loc5_._height;
if(_loc5_._width * _loc2_ / 100 > cadreWidth)
{
_loc2_ = cadreWidth * 100 / _loc5_._width;
}
}
pCentW = _loc2_;
pCentH = _loc2_;
}
else
{
general_width = 151;
general_height = 282;
pCentW = cadreWidth * 100 / general_width;
pCentH = cadreHeight * 100 / general_height;
_loc5_ = myC;
}
myC._width = myC._width * pCentW / 100;
myC._height = myC._height * pCentH / 100;
var _loc4_ = (cadreWidth - myC._width) / 2;
myC._x = 0;
var _loc3_ = (cadreHeight - myC._height) / 2;
myC._y = 0;
myC._visible = true;
}
function afficheImage_R(lNum, lCode)
{
this["CLIP_PHOTO_0" + (lNum + 1)].gotoAndPlay("E1");
this["CLIP_PHOTO_0" + (lNum + 1)]._alpha = 0;
var _loc10_ = this["CLIP_PHOTO_0" + (lNum + 1)].ACCUEIL;
this["_R0" + (lNum + 1)].mcImage = this["CLIP_PHOTO_0" + (lNum + 1)];
_loc10_.id = lCode;
if(lCode.substr(0,1) == "I")
{
var _loc7_ = this.photoStocker[lCode];
}
else
{
_loc7_ = undefined;
}
var _loc6_ = _loc10_.createEmptyMovieClip("swfHolder_" + lNum,chercheDepthPlus(_loc10_,0));
if(_loc7_ == undefined)
{
this["mclR" + lNum] = new MovieClipLoader();
this["mclR" + lNum].loadClip(_global.gModulePath + moduleInfo.getResourceById(lCode).firstChild.attributes.src,_loc6_);
this["mclR" + lNum].onLoadInit = function(myClip)
{
cadreWidth = 50;
cadreHeight = 50;
adapteImage(myClip);
myClip._parent._parent._alpha = 100;
};
}
else
{
var _loc11_ = new flash.display.BitmapData(_loc7_._width,_loc7_._height,true,0);
_loc11_.draw(_loc7_);
_loc6_.attachBitmap(_loc11_,_loc6_.getNextHighestDepth(),"auto",true);
cadreWidth = 50;
cadreHeight = 50;
adapteImage(_loc6_);
_loc6_._parent._parent._alpha = 100;
}
if(lCode.substr(lCode.length - 1,lCode.length - 1) == "Z")
{
var _loc3_ = lCode.substr(lCode.length - 2,1);
}
else
{
_loc3_ = lCode.substr(lCode.length - 1,1);
}
var _loc8_ = undefined;
var _loc9_ = undefined;
var _loc0_ = null;
if((_loc0_ = gSexe) !== "F")
{
if(soundObjects[gCommentName + "I_R" + gimme2digits(gNoQuestion) + _loc3_] !== undefined)
{
_loc8_ = "I_R" + gimme2digits(gNoQuestion) + _loc3_;
}
if(soundObjects[gBruitageName + "B_I_R" + gimme2digits(gNoQuestion) + _loc3_] !== undefined)
{
_loc9_ = "B_I_R" + gimme2digits(gNoQuestion) + _loc3_;
}
}
else
{
if(soundObjects[gCommentName + "I_R" + gimme2digits(gNoQuestion) + _loc3_ + "Z"] !== undefined)
{
_loc8_ = "I_R" + gimme2digits(gNoQuestion) + _loc3_ + "Z";
}
else if(soundObjects[gCommentName + "I_R" + gimme2digits(gNoQuestion) + _loc3_] !== undefined)
{
_loc8_ = "I_R" + gimme2digits(gNoQuestion) + _loc3_;
}
if(soundObjects[gBruitageName + "B_I_R" + gimme2digits(gNoQuestion) + _loc3_ + "Z"] !== undefined)
{
_loc9_ = "B_I_R" + gimme2digits(gNoQuestion) + _loc3_ + "Z";
}
else if(soundObjects[gBruitageName + "B_I_R" + gimme2digits(gNoQuestion) + _loc3_] !== undefined)
{
_loc9_ = "B_I_R" + gimme2digits(gNoQuestion) + _loc3_;
}
}
this["_R0" + (lNum + 1)].pSon = _loc8_;
this["_R0" + (lNum + 1)].pBruit = _loc9_;
}
trace("FOND1 = " + FOND1);
trace("FOND2 = " + FOND2);
i = 1;
while(i < 6)
{
this["texte_LMR" + i]._visible = 0;
i++;
}
testeMusic();
gOk = 1;
texte_NoQuestion.text = gNoQuestion;
texte_NbQuestions.text = gNbQuestionsTotal;
if(gNoQuestion == 1)
{
BT_RETOUR.gotoAndPlay("E0");
desactiveClip(BT_RETOUR);
}
else
{
BT_RETOUR.gotoAndPlay("E1");
onMcOver({mc:BT_RETOUR});
BT_RETOUR.onPress = function()
{
onMcOut(this);
ANIM.swfHolder._alpha = 100;
removeMovieClip(ANIM["swfHolder_" + gListeReponseTest[gNoQuestion - 1]]);
gNoQuestion -= 1;
gereTextes.videLM(gClipGen);
gotoAndStop("relance");
play();
};
}
if(gListeReponseTest[gNoQuestion - 1] == "O")
{
if(gNoQuestion == gNbQuestionsTotal)
{
BT_SUITE.gotoAndPlay("E5");
}
else
{
BT_SUITE.gotoAndPlay("E0");
}
desactiveClip(BT_SUITE);
}
else if(gNoQuestion == gNbQuestionsTotal)
{
activeBT_OK();
}
else
{
activeBT_SUITE();
}
if(gTopDepart == true)
{
gTopDepart = undefined;
trace("__________________________ gPCent = " + gPCent);
var myCoord = moduleInfo.returnNodeByPath("Module.Config.CoordBT_REFAIRE").firstChild.nodeValue;
this.attachMovie("BT_REFAIRE","BT_REFAIRE",1550,{_x:Number(myCoord.split(",")[0]),_y:Number(myCoord.split(",")[1])});
onMcOver({mc:BT_REFAIRE,codeIB:"IB95"});
BT_REFAIRE.onPress = function()
{
onMcOut(this);
gBlockMusic = undefined;
stopComment();
gereTextes.videLM(gClipGen);
gotoAndStop("ATTENTE_INTRO");
play();
removeMovieClip(this);
};
}
XmlLM = this.moduleInfo.returnNodeByPath("Module." + gLangue + ".LegendesMedias");
XmlIB = this.moduleInfo.returnNodeByPath("Module." + gLangue + ".InfoBulles");
var _loc0_ = null;
if((_loc0_ = gSexe) !== "F")
{
gereTextes.afficheLM({codeLM:"LM_Q" + gimme2digits(gNoQuestion)});
}
else if(gereTextes.getTextById(XmlLM,"LM_Q" + gimme2digits(gNoQuestion) + "Z") !== undefined)
{
gereTextes.afficheLM({codeLM:"LM_Q" + gimme2digits(gNoQuestion) + "Z"});
}
else
{
gereTextes.afficheLM({codeLM:"LM_Q" + gimme2digits(gNoQuestion)});
}
gListeReponse = [];
lList = ["A","B","C","D","E"];
i = 4;
while(i >= 0)
{
var myClip = this["R" + gimme2digits(i + 1)];
var myClip2 = this["_R" + gimme2digits(i + 1)];
var myClip3 = this["R" + gimme2digits(i + 1) + "_"];
delete myClip2.onRollOver;
delete myClip2.onRollOut;
delete myClip2.onDragOut;
delete myClip2.onPress;
myClip._visible = false;
myClip2._visible = false;
myClip3._visible = false;
if(gereTextes.getTextById(XmlLM,"LM_R" + gimme2digits(gNoQuestion) + lList[i]) == undefined)
{
lList.splice(i,1);
this["texte_LMR" + gimme2digits(i + 1)]._visible = false;
}
i--;
}
if(gListeReponseOrdre[gNoQuestion - 1] == undefined)
{
gListeReponse = randomiseList(lList);
if(gListeReponse.length !== 0)
{
gListeReponseOrdre.push(gListeReponse);
}
}
else if(lList.length !== 0)
{
gListeReponse = gListeReponseOrdre[gNoQuestion - 1];
}
if(gListeReponse.length == 0)
{
var lList = ["A","B","C","D","E"];
i = 4;
while(i >= 0)
{
if(swfStocker["A_" + gModuleName + "_R" + gimme2digits(gNoQuestion) + lList[i]] == undefined)
{
lList.splice(i,1);
}
i--;
}
gType = "SWF";
if(gListeReponseOrdre[gNoQuestion - 1] == undefined)
{
gListeReponse = randomiseList(lList);
if(gListeReponse.length !== 0)
{
gListeReponseOrdre.push(gListeReponse);
}
}
else if(lList.length !== 0)
{
gListeReponse = gListeReponseOrdre[gNoQuestion - 1];
}
if(gListeReponse.length == 0)
{
var lList = ["A","B","C","D","E"];
i = 4;
while(i >= 0)
{
trace(gCommentName + "R" + gimme2digits(gNoQuestion) + lList[i]);
var lSon = soundObjects[gCommentName + "R" + gimme2digits(gNoQuestion) + lList[i]];
var lBruitage = soundObjects[gBruitageName + "B_R" + gimme2digits(gNoQuestion) + lList[i]];
if(lSon == undefined && lBruitage == undefined)
{
lList.splice(i,1);
}
i--;
}
if(gListeReponseOrdre[gNoQuestion - 1] == undefined)
{
gListeReponse = randomiseList(lList);
if(gListeReponse.length !== 0)
{
gListeReponseOrdre.push(gListeReponse);
}
}
else if(lList.length !== 0)
{
gListeReponse = gListeReponseOrdre[gNoQuestion - 1];
}
trace("gListeReponse = " + gListeReponse);
gType = "MP3";
if(gListeReponse.length == 0)
{
var lList = ["A","B","C","D","E"];
i = 4;
while(i >= 0)
{
if(photoStocker["I_" + gModuleName + "_R" + gimme2digits(gNoQuestion) + lList[i]] == undefined)
{
lList.splice(i,1);
}
i--;
}
if(gListeReponseOrdre[gNoQuestion - 1] == undefined)
{
gListeReponse = randomiseList(lList);
if(gListeReponse.length !== 0)
{
gListeReponseOrdre.push(gListeReponse);
}
}
else if(lList.length !== 0)
{
gListeReponse = gListeReponseOrdre[gNoQuestion - 1];
}
gType = "JPG";
}
}
}
else
{
gType = "LM";
}
gNbReponses = gListeReponse.length;
trace(gType);
gResultat = undefined;
i = 0;
for(; i < gListeReponse.length; myClip2.onRollOver = function()
{
if(this.pDone == 0)
{
gereCursor(2);
this.mcBouton.gotoAndPlay("E2");
joueBruitage({nomSon:"B_" + this.pNum});
trace(this.pCode);
switch(gType)
{
case "SWF":
case "JPG":
if(this.pSon !== undefined)
{
joueSon({nomSon:this.pSon,zapBlock:"NOZAP_NOBLOCK",actionFin:"RIEN"});
}
if(this.pBruit !== undefined)
{
var _loc3_ = findID(this.pBruit);
if(_loc3_ !== 1)
{
joueBruitage({nomSon:this.pBruit});
}
else
{
joueBruitage({nomSon:this.pBruit,loopSon:2000});
}
}
this.mcImage.gotoAndStop("E2");
var _loc5_ = ANIM.createEmptyMovieClip("swfHolder_" + this.pCode,ANIM.getNextHighestDepth());
this.mclR_Q = new MovieClipLoader();
this.mclR_Q.loadClip(_global.gModulePath + moduleInfo.getResourceById(this.mcImage.ACCUEIL.id).firstChild.attributes.src,_loc5_);
this.mclR_Q.onLoadInit = function(theClip)
{
cadreWidth = MASQUE._width;
cadreHeight = MASQUE._height;
adapteImage(theClip);
ANIM.swfHolder._alpha = 0;
};
break;
case "MP3":
this.mcSon.gotoAndPlay("E2");
trace("this.pSon = " + this.pSon);
trace("this.pNum = " + this.pNum);
trace("gListeReponse[Number(this.pNum)-1] = " + gListeReponse[Number(this.pNum) - 1]);
trace("gListeReponse[Number(this.pNum)] = " + gListeReponse[Number(this.pNum)]);
if(this.pSon !== undefined)
{
if((_loc0_ = gSexe) !== "F")
{
if(soundObjects[gCommentName + "R" + gimme2digits(gNoQuestion) + gListeReponse[Number(this.pNum) - 1]] !== undefined)
{
var _loc4_ = "R" + gimme2digits(gNoQuestion) + gListeReponse[Number(this.pNum) - 1];
}
}
else if(soundObjects[gCommentName + "R" + gimme2digits(gNoQuestion) + gListeReponse[Number(this.pNum) - 1] + "Z"] !== undefined)
{
_loc4_ = "R" + gimme2digits(gNoQuestion) + gListeReponse[Number(this.pNum) - 1] + "Z";
}
else if(soundObjects[gCommentName + "R" + gimme2digits(gNoQuestion) + gListeReponse[Number(this.pNum) - 1]] !== undefined)
{
_loc4_ = "R" + gimme2digits(gNoQuestion) + gListeReponse[Number(this.pNum) - 1];
}
joueSon({nomSon:_loc4_,zapBlock:"NOZAP_NOBLOCK",actionFin:"RIEN"});
}
else
{
joueBruitage({nomSon:"B_R" + gimme2digits(gNoQuestion) + gListeReponse[Number(this.pNum) - 1]});
}
}
}
},myClip2.onDragOut = _loc0_ = function()
{
if(this.pDone == 0)
{
gereCursor(1);
this.mcBouton.gotoAndPlay("E1");
stopBruitage({nomSon:"B_" + this.pNum});
switch(gType)
{
case "SWF":
case "JPG":
if(this.pSon !== undefined)
{
stopComment();
}
if(this.pBruit !== undefined)
{
stopBruitage({nomSon:this.pBruit});
}
this.mcImage.gotoAndStop("E1");
removeMovieClip(ANIM["swfHolder_" + this.pCode]);
ANIM.swfHolder._alpha = 100;
break;
case "MP3":
this.mcSon.gotoAndPlay("E1");
if(this.pSon !== undefined)
{
stopComment();
}
else
{
stopBruitage({nomSon:"B_R" + gimme2digits(gNoQuestion) + gListeReponse[Number(this.pNum) - 1]});
}
}
}
},myClip2.onRollOut = _loc0_,myClip2.onPress = function()
{
if(this.pDone == 0)
{
joueBruitage({nomSon:"B_VALID"});
gereCursor(1);
this.mcBouton.gotoAndPlay("E3");
stopBruitage({nomSon:"B_" + this.pNum});
this.pDone = 1;
switch(gType)
{
case "SWF":
case "JPG":
if(this.pSon !== undefined)
{
stopComment();
}
if(this.pBruit !== undefined)
{
stopBruitage({nomSon:this.pBruit});
}
break;
case "MP3":
this.mcSon.gotoAndPlay("E1");
if(this.pSon !== undefined)
{
stopComment();
}
else
{
stopBruitage({nomSon:"B_R" + gimme2digits(gNoQuestion) + gListeReponse[Number(this.pNum) - 1]});
}
}
if(gListeReponseTest[gNoQuestion - 1] !== "O")
{
var _loc3_ = getPos(gListeReponseOrdre[gNoQuestion - 1],gListeReponseTest[gNoQuestion - 1]) + 1;
var _loc2_ = this._parent["_R0" + _loc3_];
_loc2_.pDone = 0;
_loc2_.mcBouton.gotoAndStop("E1");
switch(gType)
{
case "SWF":
case "JPG":
_loc2_.mcImage.gotoAndStop("E1");
removeMovieClip(ANIM["swfHolder_" + gListeReponseTest[gNoQuestion - 1]]);
break;
case "MP3":
this._parent["PICTO_SON_0" + _loc3_].gotoAndStop("E1");
}
}
doneReponse(this.pCode);
}
},i++)
{
var myClip = this["R" + gimme2digits(i + 1)];
var myClip2 = this["_R" + gimme2digits(i + 1)];
var myClip3 = this["R" + gimme2digits(i + 1) + "_"];
myClip2.pNum = gimme2digits(i + 1);
myClip2.mcBouton = myClip;
myClip._visible = true;
myClip2._visible = true;
myClip3._visible = true;
myClip.gotoAndPlay("E1");
myClip2.pCode = gListeReponse[i];
myClip2.pDone = 0;
myClip2.pSon = undefined;
myClip2.pBruit = undefined;
trace(gType);
switch(gType)
{
case "LM":
if((_loc0_ = gSexe) !== "F")
{
gereTextes.afficheLM({codeLM:"LM_R" + gimme2digits(gNoQuestion) + gListeReponse[i],numR:gimme2digits(i + 1)});
var pClip = this["LM_R" + gimme2digits(gNoQuestion) + gListeReponse[i]];
}
else if(gereTextes.getTextById(XmlLM,"LM_R" + gimme2digits(gNoQuestion) + gListeReponse[i] + "Z") !== undefined)
{
gereTextes.afficheLM({codeLM:"LM_R" + gimme2digits(gNoQuestion) + gListeReponse[i] + "Z",numR:gimme2digits(i + 1)});
var pClip = this["LM_R" + gimme2digits(gNoQuestion) + gListeReponse[i] + "Z"];
}
else
{
gereTextes.afficheLM({codeLM:"LM_R" + gimme2digits(gNoQuestion) + gListeReponse[i],numR:gimme2digits(i + 1)});
var pClip = this["LM_R" + gimme2digits(gNoQuestion) + gListeReponse[i]];
}
var lH = 28;
if(pClip.LM.texte._height > lH)
{
pClip._y -= 13 * (pClip.LM.texte._height / lH - 1);
}
break;
case "SWF":
switch(gSexe)
{
case "F":
if(swfStocker["A_" + gModuleName + "_R" + gimme2digits(gNoQuestion) + gListeReponse[i] + "Z"] !== undefined)
{
var myID = "A_" + gModuleName + "_R" + gimme2digits(gNoQuestion) + gListeReponse[i] + "Z";
}
else
{
var myID = "A_" + gModuleName + "_R" + gimme2digits(gNoQuestion) + gListeReponse[i];
}
break;
case "G":
var myID = "A_" + gModuleName + "_R" + gimme2digits(gNoQuestion) + gListeReponse[i];
}
afficheImage_R(i,myID);
break;
case "JPG":
switch(gSexe)
{
case "F":
if(photoStocker["I_" + gModuleName + "_R" + gimme2digits(gNoQuestion) + gListeReponse[i] + "Z"] !== undefined)
{
var myID = "I_" + gModuleName + "_R" + gimme2digits(gNoQuestion) + gListeReponse[i] + "Z";
}
else
{
var myID = "I_" + gModuleName + "_R" + gimme2digits(gNoQuestion) + gListeReponse[i];
}
break;
case "G":
var myID = "I_" + gModuleName + "_R" + gimme2digits(gNoQuestion) + gListeReponse[i];
}
afficheImage_R(i,myID);
break;
case "MP3":
myClip2.mcSon = this["PICTO_SON_0" + (i + 1)];
myClip2.mcSon.gotoAndPlay("E1");
var lSon = soundObjects[gCommentName + "R" + gimme2digits(gNoQuestion) + lList[i]];
var lBruitage = soundObjects[gBruitageName + "B_R" + gimme2digits(gNoQuestion) + lList[i]];
if(lSon !== undefined)
{
myClip2.pSon = 1;
}
}
if(gListeReponseTest[gNoQuestion - 1] != myClip2.pCode)
{
continue;
}
myClip.gotoAndPlay("E3");
myClip2.pDone = 1;
switch(gType)
{
case "SWF":
case "JPG":
myClip2.mcImage.gotoAndStop("E2");
var swfHolderNom_1 = ANIM.createEmptyMovieClip("swfHolder_" + myClip2.pCode,ANIM.getNextHighestDepth());
this.mclR_Q2 = new MovieClipLoader();
this.mclR_Q2.loadClip(_global.gModulePath + moduleInfo.getResourceById(myClip2.mcImage.ACCUEIL.id).firstChild.attributes.src,swfHolderNom_1);
this.mclR_Q2.onLoadInit = function(theClip)
{
ANIM.swfHolder._alpha = 0;
trace("finitooooooooooooooooooooooooooooooooooooooooooo " + theClip);
};
this.mclR_Q2.onLoadInit = function(theClip)
{
cadreWidth = MASQUE._width;
cadreHeight = MASQUE._height;
adapteImage(theClip);
};
break;
}
}
var lSon = soundObjects[gCommentName + "Q" + gimme2digits(gNoQuestion)];
if(lSon !== undefined)
{
gBlockST = 1;
if((_loc0_ = gSexe) !== "F")
{
joueSon({nomSon:"Q" + gimme2digits(gNoQuestion),actionFin:"RIEN"});
}
else if(soundObjects[gCommentName + "Q" + gimme2digits(gNoQuestion) + "Z"] !== undefined)
{
joueSon({nomSon:"Q" + gimme2digits(gNoQuestion) + "Z",actionFin:"RIEN"});
}
else
{
joueSon({nomSon:"Q" + gimme2digits(gNoQuestion),actionFin:"RIEN"});
}
}
if((_loc0_ = gSexe) !== "F")
{
if(swfStocker["A_" + gModuleName + "_Q" + gimme2digits(gNoQuestion)] == undefined)
{
if(photoStocker["I_" + gModuleName + "_Q" + gimme2digits(gNoQuestion)] == undefined)
{
var myID = "A_" + gModuleName + "_Q00";
}
else
{
var myID = "I_" + gModuleName + "_Q" + gimme2digits(gNoQuestion);
}
}
else
{
var myID = "A_" + gModuleName + "_Q" + gimme2digits(gNoQuestion);
}
}
else if(swfStocker["A_" + gModuleName + "_Q" + gimme2digits(gNoQuestion) + "Z"] == undefined)
{
if(swfStocker["A_" + gModuleName + "_Q" + gimme2digits(gNoQuestion)] == undefined)
{
if(photoStocker["I_" + gModuleName + "_Q" + gimme2digits(gNoQuestion) + "Z"] == undefined)
{
if(photoStocker["I_" + gModuleName + "_Q" + gimme2digits(gNoQuestion)] == undefined)
{
if(swfStocker["A_" + gModuleName + "_Q00Z"] == undefined)
{
var myID = "A_" + gModuleName + "_Q00";
}
else
{
var myID = "A_" + gModuleName + "_Q00Z";
}
}
else
{
var myID = "I_" + gModuleName + "_Q" + gimme2digits(gNoQuestion);
}
}
else
{
var myID = "I_" + gModuleName + "_Q" + gimme2digits(gNoQuestion) + "Z";
}
}
else
{
var myID = "A_" + gModuleName + "_Q" + gimme2digits(gNoQuestion);
}
}
else
{
var myID = "A_" + gModuleName + "_Q" + gimme2digits(gNoQuestion) + "Z";
}
var lID = ANIM.swfHolder.ID;
trace("lID = §§§§§§§§§§§§§§§§§§§§§§§§§§§§§§! " + lID);
if(lID !== myID.split("_")[3] && lID !== undefined)
{
removeMovieClip(ANIM.swfHolder);
}
trace("lID = myID.split()[3] " + lID + " _" + myID.split("_")[3]);
if(lID !== myID.split("_")[3])
{
var photoholderNom = ANIM.createEmptyMovieClip("swfHolder",chercheDepthPlus(ANIM,0));
this.mclQ = new MovieClipLoader();
this.mclQ.loadClip(_global.gModulePath + moduleInfo.getResourceById(myID).firstChild.attributes.src,photoholderNom);
this.mclQ.onLoadInit = function(myClip)
{
myClip.ID = myID.split("_")[3];
cadreWidth = MASQUE._width;
cadreHeight = MASQUE._height;
adapteImage(myClip);
};
}
var lBruitage = soundObjects[gBruitageName + "B_Q" + gimme2digits(gNoQuestion)];
if(lBruitage !== undefined)
{
PICTO_SON_Q.gotoAndPlay("E1");
PICTO_SON_Q.onRollOver = function()
{
joueBruitage({nomSon:"B_Q" + gimme2digits(gNoQuestion)});
};
PICTO_SON_Q.onRollOut = function()
{
stopBruitage({nomSon:"B_Q" + gimme2digits(gNoQuestion)});
};
}
stop();