home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 144
/
MOBICLIC144.ISO
/
mac
/
DATA
/
BLA144
/
BLA144_00
/
BLA144_00.swf
/
scripts
/
frame_10
/
DoAction_2.as
next >
Wrap
Text File
|
2012-04-23
|
1KB
|
57 lines
function initToto(lBlague)
{
gBlague = lBlague;
gereTextes.afficheLM({mc:LM_XX,codeLM:"LM_" + gimme2digits(gListeOrdreBLA[gBlague - 1]),texte_LM:"texte_LM_XX"});
var _loc2_ = TOTO.TOTO_BLA;
_loc2_.gotoAndPlay("E" + gListeOrdreTOTO[gBlague - 1]);
_loc2_.onRollOver = function()
{
gereCursor(2);
stopAllBruitages();
joueBruitage({nomSon:"B_MOI"});
this.gotoAndPlay("E5");
clearInterval(IntervalTOTO);
};
_loc2_.onRollOut = function()
{
gereCursor(1);
desinitToto();
};
_loc2_.onPress = function()
{
gereCursor(1);
ChangeModule({codeRub:gRubriqueName,numMod:gListeOrdreBLA[gBlague - 1]});
};
IntervalTOTO = setInterval(this,"desinitToto",3000);
}
function desinitToto()
{
gereCursor(1);
gereTextes.masqueLM({mc:LM_XX,codeLM:"LM_" + gimme2digits(gListeOrdreBLA[gBlague - 1])});
stopAllBruitages();
clearInterval(IntervalTOTO);
var _loc1_ = TOTO.TOTO_BLA;
desactiveClip(_loc1_);
TOTO.play();
}
function initTriche()
{
var _loc2_ = 1;
while(_loc2_ <= 3)
{
var _loc3_ = this["triche_" + _loc2_];
_loc3_.useHandCursor = false;
_loc3_.pNum = _loc2_;
_loc3_.onPress = function()
{
if(Key.isDown(32) == true)
{
ChangeModule({codeRub:gRubriqueName,numMod:this.pNum});
}
};
_loc2_ = _loc2_ + 1;
}
}
initTriche();
stop();