Subject: Re: [Flashcoders] vardump an object in ActionScript?
Hi Josh,
You can check out this Enumerator class at this dudes website
www.judahfrangipane.com. Heard he's a weirdo tho.
Josh McDonald wrote:
Hi, I'm wondering if there's any way to just dump out all there is to
know about an object
That is for sure... But the kid knows how to knock out some code.
-- wade
On 2/14/06 10:16 PM, judah [EMAIL PROTECTED] wrote:
www.judahfrangipane.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of judah
Sent: woensdag 15 februari 2006 5:16
To: Flashcoders mailing list
Subject: Re: [Flashcoders] vardump an object in ActionScript?
Hi Josh,
You can check out this Enumerator class at this dudes website
www.judahfrangipane.com. Heard he's
Hi Josh,
You can check out this Enumerator class at this dudes website
www.judahfrangipane.com. Heard he's a weirdo tho.
Josh McDonald wrote:
Hi, I'm wondering if there's any way to just dump out all there is to
know about an object in ActionScript similar to PHP's vardump()? It's
easily
Man, I feel like a broken record. :-) Didn't this just come up recently.
Anyway, I suggest that you try Xray: http://osflash.org/xray as it has this
ability (Xray.trace(myObject);) and tons more. It will indeed save you time
in debugging your Flash application.
-Chris
On 2/13/06, Josh McDonald
On 2/13/06, Aaron Smith [EMAIL PROTECTED] wrote:
xRay is bloaded. I use flashinspector for something like this
http://luminicbox.com/dev/flash/log/example.htm
http://www.luminicbox.com/blog/default.aspx?page=postid=2
http://www.luminicbox.com/dev/flash/log/luminicbox.log.zip
those
Yeah I shouldn't diss it.. it's a cool tool, i'll give them that!. I
guess I never have problems with depths or placement so it's just to
much for me.
So use what's comfortable. XRay is a nice tool. I'm not trying to
diss it.
Aaron Smith
On Feb 13, 2006, at 2:50 PM, Chris Allen wrote:
Yeah, a for...in loop is what you want in Actionscript too.
However, to save you a few minutes, below is the function I use.
static function printr( object, depth ){
if ( depth == undefined ) depth = 3;
var depth_spacing:String = ;
var string_rep:String = ;
8 matches
Mail list logo