home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 149
/
MOBICLIC149.ISO
/
pc
/
DATA
/
ENG149
/
ENG149_00
/
ENG149_00.swf
/
scripts
/
frame_220
/
DoAction.as
Wrap
Text File
|
2012-11-21
|
825b
|
45 lines
btn_vocab.onRollOver = function()
{
this.useHandCursor = 1;
gereCursor(2);
this.gotoAndStop(2);
};
btn_vocab.onRollOut = function()
{
gereCursor(1);
this.gotoAndStop(1);
};
btn_vocab.onRelease = function()
{
gereCursor(1);
_root.vocabJeu = 1;
_root.gotoAndPlay("VOCAB");
};
btn_vocab.onReleaseOutside = function()
{
gereCursor(1);
gereTextes.masqueIB();
};
trace("INITJEU");
listBase = [];
var i = 1;
while(i <= nbZones)
{
listBase.push(i);
i++;
}
_root.gListMots = [];
var i = 0;
while(i < nbZones)
{
lElement = _root.randomValue(0,listBase.length - 1);
_root.gListMots.push(listBase[lElement]);
listBase.splice(lElement,1);
i++;
}
trace(gListMots);
_root.gMot = 1;
_root.gScore = 0;
_root.gSerie = 1;
_root.gotoAndPlay("ATTENTE");