home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 174
/
MOBICLIC174.ISO
/
mac
/
DATA
/
QZZ174
/
QZZ174_00
/
QZZ174_00.swf
/
scripts
/
frame_50
/
DoAction.as
Wrap
Text File
|
2015-04-27
|
1KB
|
53 lines
function initTonneaux()
{
var _loc5_ = ["A","B"];
var _loc2_ = 1;
while(_loc2_ < 3)
{
var _loc3_ = this.TONNEAUX["TONNEAU_" + gimme2digits(_loc2_)];
_loc3_.pLettre = _loc5_[_loc2_ - 1];
_loc3_.pNum = _loc2_;
_loc3_.pBruit = "B_T_0" + _loc2_;
_loc3_.onRollOver = function()
{
this.useHandCursor = true;
gereCursor(2);
this.gotoAndPlay("E2");
joueBruitage({nomSon:this.pBruit});
};
_loc3_.onRollOut = function()
{
gereCursor(1);
this.gotoAndPlay("E1");
stopBruitage({nomSon:this.pBruit});
};
_loc3_.onPress = function()
{
gereCursor(1);
stopBruitage({nomSon:this.pBruit});
gTypePartie = this.pNum;
gListeJoueur = [];
gInfosJoueur = new Object();
gJoueur = 1;
this.gotoAndPlay("E3");
desinitTonneaux();
};
_loc2_ = _loc2_ + 1;
}
}
function desinitTonneaux()
{
var _loc4_ = ["A","B"];
var _loc2_ = 1;
while(_loc2_ < 3)
{
var _loc3_ = this.TONNEAUX["TONNEAU_" + gimme2digits(_loc2_)];
desactiveClip(_loc3_);
_loc2_ = _loc2_ + 1;
}
}
CAPITAINE.gotoAndPlay("E1");
gTypePartie = 0;
initTonneaux();
stop();