home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 174
/
MOBICLIC174.ISO
/
pc
/
DATA
/
MOB174
/
MOB174_00
/
MOB174_00.swf
/
scripts
/
frame_2
/
DoAction.as
Wrap
Text File
|
2015-04-27
|
5KB
|
146 lines
function StopAll()
{
clearInterval(_root.BoucleId);
}
stop();
xGetConfig();
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"});
_global.gDataPath = _global.gDataPath != undefined ? _global.gDataPath : "../../";
AideBox._visible = false;
AideBox.swapDepths(_root.xConfig.AideBox_Level);
AideBox.useHandCursor = true;
AideBox.onPress = function()
{
this._visible = false;
};
CourrierBox._visible = false;
CourrierBox.swapDepths(_root.xConfig.CourrierBox_Level);
CourrierBox.useHandCursor = false;
CourrierBox.onPress = function()
{
this._visible = false;
};
this.RetourBullesInit = function()
{
prod.module.BulleSOM.AfficherBulles();
InitOk();
};
prod.module.BulleSOM.StartAll({vitesse:_root.xConfig.BullesVitesse,rayon:_root.xConfig.BullesRayon,fond_logo_alpha:_root.xConfig.BullesFondLogoAlpha});
MASCOTTES_Fond.swapDepths(_root.xConfig.MASCOTTES_FondLevel);
MASCOTTES.swapDepths(_root.xConfig.MASCOTTES_Level);
InitMC({mc:MASCOTTES.WIKI});
MASCOTTES.WIKI.OnPress = function()
{
this.onRollOut();
_root.AideBox._visible = true;
};
MASCOTTES.WIKI.level_ori = MASCOTTES.WIKI.getDepth();
MASCOTTES.WIKI.OnRollOver = function()
{
this.swapDepths(_root.xConfig.WIKI_RolloverLevel);
};
MASCOTTES.WIKI.OnRollOut = function()
{
this.swapDepths(this.level_ori);
this.gotoAndStop("E1");
stopComment();
};
MASCOTTES.WIKI.Fin_E2 = function()
{
joueSon({nomSon:"WK_R",zapBlock:"NOZAP_NOBLOCK",actionFin:"WIKI_ROLLOUT"});
};
this.WIKI_ROLLOUT = function()
{
MASCOTTES.WIKI.onRollOut();
};
InitMC({mc:MASCOTTES.SPAM});
MASCOTTES.SPAM.DelaiAffichage = function()
{
clearInterval(this.IntId);
if(_global.HOTE.ImprimerEcran())
{
_root.CourrierBox._visible = false;
}
else
{
_root.CourrierBox._visible = false;
}
};
MASCOTTES.SPAM.OnPress = function()
{
this.onRollOut();
_root.CourrierBox._visible = true;
this.IntId = setInterval(this,"DelaiAffichage",100);
};
MASCOTTES.SPAM.level_ori = MASCOTTES.SPAM.getDepth();
MASCOTTES.SPAM.OnRollOver = function()
{
this.swapDepths(_root.xConfig.SPAM_RolloverLevel);
};
MASCOTTES.SPAM.OnRollOut = function()
{
this.swapDepths(this.level_ori);
this.gotoAndStop("E1");
stopComment();
};
MASCOTTES.SPAM.Fin_E2 = function()
{
joueSon({nomSon:"SP_R",zapBlock:"NOZAP_NOBLOCK",actionFin:"SPAM_ROLLOUT"});
};
this.SPAM_ROLLOUT = function()
{
MASCOTTES.SPAM.onRollOut();
};
InitMC({mc:MASCOTTES.BUG});
MASCOTTES.BUG.OnPress = function()
{
this.onRollOut();
if(_root.xConfig.BugLien == undefined || _root.xConfig.BugLien == "")
{
getUrl("http://www.mobiclic.com", "_blank");
}
else
{
ChangeModule({codeRub:_root.xConfig.BugLien,numMod:0});
}
};
MASCOTTES.BUG.level_ori = MASCOTTES.BUG.getDepth();
MASCOTTES.BUG.OnRollOver = function()
{
this.swapDepths(_root.xConfig.BUG_RolloverLevel);
};
MASCOTTES.BUG.OnRollOut = function()
{
this.swapDepths(this.level_ori);
this.gotoAndStop("E1");
stopComment();
};
MASCOTTES.BUG.Fin_E2 = function()
{
joueSon({nomSon:"BG_R",zapBlock:"NOZAP_NOBLOCK",actionFin:"BUG_ROLLOUT"});
};
this.BUG_ROLLOUT = function()
{
MASCOTTES.BUG.onRollOut();
};