home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sears Catalog 2006 Spring/Summer (French Canadian)
/
SearsCanada-AutomneEte2006-FrenchVersion-WinMac.bin
/
fr
/
main.swf
/
scripts
/
frame_1
/
DoAction.as
< prev
Wrap
Text File
|
2005-12-05
|
665b
|
24 lines
_global.traceObject = function(obj)
{
for(var _loc3_ in obj)
{
if(typeof obj[_loc3_] == "object")
{
if(typeof obj[_loc3_].length == "number")
{
trace(arguments[1] + _loc3_ + " : array.length = " + obj[_loc3_].length);
arguments.callee(obj[_loc3_],arguments[1] + _loc3_ + "[","]");
}
else
{
trace(arguments[1] + _loc3_ + " = " + obj[_loc3_]);
arguments.callee(obj[_loc3_],arguments[1] + _loc3_ + ".");
}
}
else
{
trace(arguments[1] + _loc3_ + arguments[2] + " = " + obj[_loc3_]);
}
}
};