home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 128
/
MOBICLIC128.ISO
/
pc
/
DATA
/
HOTE
/
libs
/
xtrace
/
xtrace.swf
/
scripts
/
frame_1
/
DoAction.as
Wrap
Text File
|
2010-09-30
|
2KB
|
59 lines
function xtrace(p)
{
var _loc3_ = typeof p != "string" ? "" + p.mess : "" + p;
var _loc5_ = p.group != undefined ? p.group : "tous";
if(xtraceGroups[_loc5_] == 1)
{
trace(_loc3_);
if(_global.xtrace_mode != "on")
{
return undefined;
}
var _loc4_ = new LocalConnection();
_loc4_.allowDomain = function(sendingDomain)
{
return true;
};
_loc4_.send("lc_name","AfficherTexte",_loc3_);
}
}
function xtrace_raz()
{
if(_global.xtrace_mode != "on")
{
return undefined;
}
var _loc2_ = new LocalConnection();
_loc2_.send("lc_name","RazTexte",mess);
}
function xlisteObj(p)
{
if(xlisteObj_mode != "on")
{
return undefined;
}
var _loc1_ = p.obj != undefined ? p.obj : p;
p.mess = p.mess != undefined ? p.mess : "";
xtrace({mess:"\r____________________" + p.mess + " " + _loc1_._name + "______________________",group:p.group});
for(props in _loc1_)
{
xtrace({mess:props + " = " + _loc1_[props],group:p.group});
}
xtrace({mess:"_________________________________________________\r",group:p.group});
}
MovieClip.prototype._xtrace_ = this;
_global.xtraceGroups = [];
xtraceGroups.tous = 1;
xtraceGroups.doc = 1;
xtraceGroups.debug = 0;
xtraceGroups.route = 0;
xtraceGroups.error = 0;
_global.xtrace = xtrace;
_global.xtrace_raz = xtrace_raz;
_global.xlisteObj = xlisteObj;
MovieClip.prototype.xtrace_raz = xtrace_raz;
MovieClip.prototype.xtrace = xtrace;
MovieClip.prototype.xlisteObj = xlisteObj;
_global.xtrace_mode = _global.xtrace_mode != undefined ? _global.xtrace_mode : "off";
_global.xlisteObj_mode = _global.xlisteObj_mode != undefined ? _global.xlisteObj_mode : "off";