home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 127
/
MOBICLIC127.ISO
/
mac
/
DATA
/
DSS127
/
DSS127_02
/
DSS127_02.swf
/
scripts
/
frame_476
/
DoAction.as
Wrap
Text File
|
2010-09-13
|
1KB
|
42 lines
stop();
BT_X._visible = 1;
gereTextes.afficheLM({mc:Q05,codeLM:"LM_02_ITV_Q05"});
gereTextes.afficheLM({mc:Q06,codeLM:"LM_02_ITV_Q06"});
gereTextes.afficheLM({mc:Q07,codeLM:"LM_02_ITV_Q07"});
gereTextes.afficheLM({mc:Q08,codeLM:"LM_02_ITV_Q08"});
itvRetour = "ITV2";
var i = 5;
while(i <= 8)
{
this["BANDEAU_" + gimme2digits(i)].pZone = i;
this["BANDEAU_" + gimme2digits(i)].pDone = 0;
this["BANDEAU_" + gimme2digits(i)].onRollOver = function()
{
gereCursor(2);
this.gotoAndStop("E2");
joueBruitage({nomSon:"B_QUESTION"});
};
this["BANDEAU_" + gimme2digits(i)].onRollOut = function()
{
gereCursor(1);
this.gotoAndStop("E1");
stopBruitage({nomSon:"B_QUESTION"});
};
this["BANDEAU_" + gimme2digits(i)].onPress = function()
{
_root.listDone[this.pZone - 5] = 1;
gereCursor(1);
this.gotoAndStop("E1");
stopBruitage({nomSon:"B_QUESTION"});
_root.reponseITV = this.pZone;
trace(_root.listDone);
if(getPos(_root.listDone,0) == -1)
{
listDone = [0,0,0,0];
_root.itvRetour = "02_09";
}
_root.gotoAndPlay("ITV_R");
};
i++;
}