home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 127
/
MOBICLIC127.ISO
/
mac
/
DATA
/
DSS127
/
DSS127_02
/
DSS127_02.swf
/
scripts
/
frame_136
/
DoAction.as
Wrap
Text File
|
2010-09-13
|
2KB
|
75 lines
stop();
if(gMusicOn)
{
soundObjects[gMusic].setVolume(gVolume);
}
gereTextes.masqueLM({codeLM:listTextes[0]});
gereTextes.masqueLM({codeLM:listTextes[1]});
gereTextes.masqueLM({codeLM:listTextes[2]});
gereTextes.masqueLM({mc:this,codeLM:"LM_VIDEO"});
clearInterval(intervalTeletext);
clearInterval(intervalReaction);
clearInterval(pauseReaction);
clearInterval(intervalPause);
stopBruitage({nomSon:"B_HELICO_1"});
stopBruitage({nomSon:"B_HELICO_2"});
if(_global.HOTE !== undefined)
{
if(_global.HOTE.fromPastilles == 1)
{
_global.ChangeModule({codeRub:"DSS",numMod:5,A_GoLabel:"ATTENTE_RETOUR"});
}
else if(getPos(_global.HOTE.gListeVu_DSS127[1],0) == -1)
{
gotoAndStop("FIN_01");
play();
}
}
var i = 1;
while(i <= 3)
{
this["ZONE_" + gimme2digits(i)].pZone = i;
this["ZONE_" + gimme2digits(i)].onRollOver = function()
{
this.useHandCursor = 0;
if(_global.HOTE == undefined)
{
this.useHandCursor = 1;
gereCursor(2);
this.gotoAndStop("E2");
joueBruitage({nomSon:"B_" + gimme2digits(this.pZone)});
}
else if(_global.HOTE.gListeVu_DSS127[1][this.pZone - 1] == 0)
{
this.useHandCursor = 1;
gereCursor(2);
this.gotoAndStop("E2");
joueBruitage({nomSon:"B_" + gimme2digits(this.pZone)});
}
};
this["ZONE_" + gimme2digits(i)].onRollOut = function()
{
gereCursor(1);
this.gotoAndStop("E1");
stopBruitage({nomSon:"B_" + gimme2digits(this.pZone)});
};
this["ZONE_" + gimme2digits(i)].onPress = function()
{
if(_global.HOTE == undefined)
{
gereCursor(1);
this.gotoAndStop("E1");
stopBruitage({nomSon:"B_" + gimme2digits(this.pZone)});
_root.gotoAndStop("LAB_" + gimme2digits(this.pZone));
}
else if(_global.HOTE.gListeVu_DSS127[1][this.pZone - 1] == 0)
{
gereCursor(1);
this.gotoAndStop("E1");
stopBruitage({nomSon:"B_" + gimme2digits(this.pZone)});
_root.gotoAndStop("LAB_" + gimme2digits(this.pZone));
}
};
i++;
}