home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 127
/
MOBICLIC127.ISO
/
mac
/
DATA
/
DSS127
/
DSS127_02
/
DSS127_02.swf
/
scripts
/
frame_466
/
DoAction.as
Wrap
Text File
|
2010-09-13
|
1KB
|
47 lines
stop();
gereTextes.masqueLM({mc:this,codeLM:"LM_VIDEO"});
BT_X._visible = 1;
gereTextes.afficheLM({mc:Q01,codeLM:"LM_02_ITV_Q01"});
gereTextes.afficheLM({mc:Q02,codeLM:"LM_02_ITV_Q02"});
gereTextes.afficheLM({mc:Q03,codeLM:"LM_02_ITV_Q03"});
gereTextes.afficheLM({mc:Q04,codeLM:"LM_02_ITV_Q04"});
if(listDone == undefined)
{
listDone = [0,0,0,0];
}
itvRetour = "ITV";
var i = 1;
while(i <= 4)
{
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 - 1] = 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 = "ITV2";
}
_root.gotoAndPlay("ITV_R");
};
i++;
}