home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 149
/
MOBICLIC149.ISO
/
pc
/
DATA
/
GEN149
/
GEN149_00
/
-GEN149_00.swf
/
scripts
/
frame_5
/
DoAction.as
Wrap
Text File
|
2012-11-21
|
4KB
|
97 lines
function INIT_INTERFACE(intLabel)
{
trace("INT A_" + gModuleName + "_interface");
Interface = Interface["A_" + gModuleName + "_interface"];
Interface.gotoAndPlay(intLabel);
Interface._visible = 1;
_global.BT_OEIL = Interface.BT_OEIL;
_global.ActiveOEIL = ActiveOEIL;
_root.ActiveOEIL = ActiveOEIL;
_global.DesactiveOEIL = DesactiveOEIL;
_root.DesactiveOEIL = DesactiveOEIL;
_root.OEILCLIC = 0;
}
function DesactiveOEIL()
{
trace("DesactiveOEIL");
BT_OEIL.useHandCursor = false;
BT_OEIL.gOEILactif = 0;
}
function ActiveOEIL()
{
trace("ActiveOEIL");
BT_OEIL.useHandCursor = true;
BT_OEIL.gOEILactif = 1;
}
function StopAll()
{
trace("STOP__ALL " + BulleGEN);
soundObjects[listMusicKA[0]].stop();
soundObjects[listMusicKA[1]].stop();
clearInterval(intervalScrollbar);
clearInterval(_root.BoucleId);
}
function ModulePause()
{
}
function ModuleResume()
{
}
function AfficherGags()
{
_root.swfStocker["A_" + _root.gModuleName + "_GAG_" + _root.gimme2digits(no_gag)]._visible = false;
no_gag = no_gag + 1 <= nb_gags_max ? no_gag + 1 : 1;
_root.swfStocker["A_" + _root.gModuleName + "_GAG_" + _root.gimme2digits(no_gag)].gotoAndPlay(2);
_root.swfStocker["A_" + _root.gModuleName + "_GAG_" + _root.gimme2digits(no_gag)]._visible = true;
}
trace("FONCTIONS : COMMUN_KAR");
trace("init.as");
_global.xGetConfig();
this.xConfig.Set({nom:"AnimsWidth",defaut:"556",type:"number"});
this.xConfig.Set({nom:"AnimsHeight",defaut:"346",type:"number"});
this.xConfig.Set({nom:"AnimsX",defaut:"-4",type:"number"});
this.xConfig.Set({nom:"Animsy",defaut:"-4",type:"number"});
xConfig.Set({nom:"DelaiFermeturePad",defaut:2,type:"number"});
xConfig.Set({nom:"BullesVitesse",defaut:0.5,type:"number"});
xConfig.Set({nom:"BullesFondLogoAlpha",defaut:80,type:"number"});
xConfig.Set({nom:"BullesLogoGlow",defaut:"y"});
xConfig.Set({nom:"BullesRollLogoGlow",defaut:"y"});
xConfig.Set({nom:"BullesLogoGlowAlpha",defaut:100,type:"number"});
xConfig.Set({nom:"BullesLogoGlowCouleur",defaut:16777215,type:"number"});
xConfig.Set({nom:"BullesLogoGlowBlur",defaut:4,type:"number"});
xConfig.Set({nom:"BullesLogoGlowStrengh",defaut:10,type:"number"});
xConfig.Set({nom:"BullesLogoGlowCouleur",defaut:16777215,type:"number"});
xConfig.Set({nom:"BullesTailleRoll",defaut:300,type:"number"});
xConfig.Set({nom:"BullesCacheAsBitmap",defaut:"n"});
xConfig.Set({nom:"AideBox_Level",defaut:50001,type:"number"});
xConfig.Set({nom:"CourrierBox_Level",defaut:50002,type:"number"});
xConfig.Set({nom:"MASCOTTES_FondLevel",defaut:49000,type:"number"});
xConfig.Set({nom:"MASCOTTES_Level",defaut:49020,type:"number"});
xConfig.Set({nom:"WIKI_RolloverLevel",defaut:10,type:"number"});
xConfig.Set({nom:"SPAM_RolloverLevel",defaut:11,type:"number"});
xConfig.Set({nom:"BUG_RolloverLevel",defaut:12,type:"number"});
xConfig.Set({nom:"BULLE_RolloverLevel",defaut:49030,type:"number"});
xConfig.Set({nom:"BULLE_RolloutTransitionLevel",defaut:49025,type:"number"});
xConfig.Set({nom:"BullesFixes",defaut:"true",type:"boolean",desc:"true|false Bulles fixes"});
xConfig.ToXml();
_global.gDataPath = _global.gDataPath != undefined ? _global.gDataPath : "../../";
var no_gag = 0;
var nb_gags_max = 13;
this.RetourBullesInit = function()
{
trace("RetourBullesInit");
prod.module.BulleGEN.AfficherBulles();
InitOk();
};
prod.module.BulleGEN.StartAll({vitesse:_root.xConfig.BullesVitesse,rayon:_root.xConfig.BullesRayon,fond_logo_alpha:_root.xConfig.BullesFondLogoAlpha,zone_limites:_root.ZONE_BULLES,no_roll:true,bullesFixes:_root.xConfig.BullesFixes});
_root.CLIC_QUITTER.onPress = function()
{
_global.HOTE.Quitter();
};
if(_global.HOTE == undefined)
{
changeMusicOn(1);
}
changeMusicOn(0);
stop();