Beautiful in it's simplicity. Thanks. --L
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Monday, July 17, 2006 10:17
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Dump object to Console
For a shallow copy, use
For a shallow copy, use a for in / for each loop.
var s:String = "";
for ( var p:* in o)
{
s += p + ": " + o[p] + "\n";
}
trace(s);
For something more, like a tree, use mx.utils.ObjectUtils.toString.
I have a DebugWindow I use here so you don't have to toggle to FlexBuilder
to see your trac
2 matches
Mail list logo