home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 127
/
MOBICLIC127.ISO
/
mac
/
DATA
/
GEN127
/
GEN127_00
/
GEN127_00.swf
/
scripts
/
frame_11
/
DoAction.as
Wrap
Text File
|
2010-08-19
|
1KB
|
55 lines
function OeilFerme()
{
_root.gotoAndStop("ATTENTE");
}
trace("freame strt");
AfficherGags();
_root.changeMusicOn(0);
var nom_du_son = "TITRE";
gNextLabel = "DEMO";
gereTextes.afficheLM({codeLM:"LM00"});
LM00.swapDepths(16000);
anim00();
initKAParoles();
initKABoutons();
initPrintBoutons();
var ratio = MASQUE_ANIM._height / MASQUE_ANIM._width;
var ratio1 = animsHeight / animsWidth;
var ratio2 = animsWidth / MASQUE_ANIM._width;
var ratio3 = animsHeight / MASQUE_ANIM._height;
if(ratio1 <= ratio)
{
ANIMKAR._xscale = 100 / ratio3;
ANIMKAR._yscale = 100 / ratio3;
ANIMKAR.H = MASQUE_ANIM._height;
ANIMKAR.W = animsWidth / ratio3;
}
else
{
ANIMKAR._xscale = 100 / ratio2;
ANIMKAR._yscale = 100 / ratio2;
ANIMKAR.H = animsHeight / ratio2;
ANIMKAR.W = MASQUE_ANIM._width;
}
ANIMKAR._x = animsX;
ANIMKAR._y = animsY;
MASQUE_ANIM._width = ANIMKAR.W;
MASQUE_ANIM._height = ANIMKAR.H;
MASQUE_ANIM._x = ANIMKAR._x;
MASQUE_ANIM._y = ANIMKAR._y;
trace("*/*/ " + MASQUE_ANIM._x + " " + MASQUE_ANIM._y + " " + MASQUE_ANIM._width + " " + MASQUE_ANIM._height);
_root.musicChoix = "ECOUTE_01";
switch(_root.musicChoix)
{
case "ECOUTE_01":
_root.Interface.CHANTE_01.gotoAndStop("E1");
gMusicKA = 0;
playMusic();
break;
case "CHANTE_01":
_root.Interface.ECOUTE_01.gotoAndStop("E1");
gMusicKA = 1;
playMusic();
}
stop();