theres one included in the mx package:

import mx.data.binding.ObjectDumper;

trace(ObjectDumper.toString(myObject));

On 3/28/07, Stephen Ford <[EMAIL PROTECTED]> wrote:

Anyone have a small script they use when they want to trace out both the
name and values of all properties in an object. I'm sure I've done this
before, but can't recall at the moment (I'm half asleep this morning).
Something building on:var oObject:Object = {};for (var props in oObject) {
trace(oObject[props]);
}Thanks._______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
John Van Horn
[EMAIL PROTECTED]
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to