home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 141
/
MOBICLIC141.ISO
/
mac
/
Milan.swf
/
scripts
/
frame_1
/
DoAction.as
Wrap
Text File
|
2012-01-10
|
1KB
|
66 lines
function xtrace_raz()
{
if(_global.xtrace_mode != "on")
{
return undefined;
}
var _loc2_ = new LocalConnection();
_loc2_.send("lc_name","RazTexte",mess);
}
_global.xtrace_raz = xtrace_raz;
_global.xtrace_modele = function(p)
{
if(typeof p != "object")
{
var _loc3_ = p;
}
else
{
_loc3_ = p.texte;
if(p.type == "alerte")
{
_global.TraceBox.Alerte(p.texte);
}
}
var _loc4_ = new LocalConnection();
_loc4_.allowDomain = function(sendingDomain)
{
return true;
};
_loc4_.send("lc_name","AfficherTexte",_loc3_);
};
_global.xtrace_ChangeMode = function(mode)
{
mode = mode != undefined ? mode : "off";
_global.xtrace_mode = mode;
switch(mode)
{
case "on":
_global.xtrace = _global.xtrace_modele;
_global.xlisteObj = _global.xlisteObj_modele;
break;
case "off":
_global.xtrace = undefined;
_global.xlisteObj = undefined;
}
};
if(_global.xtrace_mode == "on")
{
xtrace_ChangeMode("on");
}
else
{
xtrace_ChangeMode("off");
}
_global.xlisteObj_modele = function(p)
{
xtrace("_________________________________________________");
for(props in p)
{
xtrace(props + " = " + p[props]);
}
xtrace("_________________________________________________");
};
prod.hclasses.HOTE_MC.main(this);
stop();