if I understand what you want, replace your trace with this one:
trace('prop: '+ props +'\tvalue: '+oObject[props]);
--Pedro Taranto
Stephen Ford escreveu:
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
_______________________________________________
[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