you may also want to take a look at the Trace Panel: http://www.richinternet.de/blog/index.cfm?entry=EB3BA9D6-A212-C5FA-A9B1B5DB4BB7F555
Dirk. -----Ursprüngliche Nachricht----- Von: [email protected] im Auftrag von Fritz Dimmel Gesendet: Mi 22.06.2005 21:54 An: [email protected] Betreff: RE: [flexcoders] Object dump Hi! Thanks, but the panel wasn't what I've searched for. Well, in the meantime I've found this piece of code (and I changed it, to view the data in a textarea. I also added a third parameter to count the depth of recursion. In line 7 you can set the max depth. I know, it's a quick hack, but it did, what I wanted it to do... To the original author: Sorry, I forgot where I found this so I can't mention you here, but your function is great! - Thanks. function debugObject(obj:Object, space:String, num:Number) { num = num + 1; space += space; ta.text = ta.text + (space + "======debug object========="); for(var x in obj) { if(typeof(obj[x]) == "object" ) { if(num < 3) { ta.text = ta.text + (space + x + " : " + this.debugObject(obj[x],space,num)); } } else { ta.text = ta.text + (space + x + " : " + obj[x]); } } } (the second parameter should really be " "! :) Bye, Fritz > --- Ursprüngliche Nachricht --- > Von: "Dimitrios Gianninas" <[EMAIL PROTECTED]> > An: <[email protected]> > Betreff: RE: [flexcoders] Object dump > Datum: Wed, 22 Jun 2005 15:38:48 -0400 > > What you are looking for can be found here: > > http://www.macromedia.com/devnet/flex/articles/fast_userguide_print.html > > Dimitrios "Jimmy" Gianninas > RIA Developer > Optimal Payments Inc. > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Fritz Dimmel > Sent: Wednesday, June 22, 2005 1:30 PM > To: [email protected] > Subject: [flexcoders] Object dump > > > Hi! > I'm new in this list. > At first just some info about me. > I'm Fritz Dimmel, living in Austria, near Vienna. > I'm student at the Vienna University of Technology, my course is > "Software & > Information Engineering", I'm specialised in "Information Engineering". > Besides I work for Siemens. We are the Support Center for Components and > Internet Technologies that means we check out technologies, which are > brand > new, make demos with them and evaluate them for further projects. > Additionally I'm personally also interested in internet technologies. > In the past 6 months I mostly worked with CFMX / CFMX7 and Flex. > > Ok, but now back to my question :) > > Some weeks ago I found anywhere on the web a AS function calles obj_dump > or > something like that. It was great! As a parameter it just got an object > and > the result was that the entire object's structure was written to a > textarea. > But stupidly I lost this function and I cannot find it anymore... > Does anybody know what I mean and send me this piece of source code?! > > Would be great! -- Well I know, I could do this with XMLObjectblah but > this > function was very nice! > > Thanks in advance! > > Bye, > Fritz > > -- > Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie! > Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl > > > ________________________________ > > Yahoo! Groups Links > > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/flexcoders/ > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/> . > > > -- Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie! Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
<<winmail.dat>>

