One situation that occurs a lot is when you have a child object with a property referencing back to the parent object. The Flash MX UI Components are one place you see this a lot.
Thanks Chafic -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barney Boisvert Sent: Thursday, August 21, 2003 6:24 PM To: [EMAIL PROTECTED] Subject: RE: [CFCDev] cfdump problem Yeah, I agree the flash debugger sucks, but why are the recursive structures there in the first place? What are they storing, and more to they point, why do they have to be recursive? --- Barney Boisvert, Senior Development Engineer AudienceCentral [EMAIL PROTECTED] voice : 360.756.8080 x12 fax : 360.647.5351 www.audiencecentral.com > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Chafic Kazoun > Sent: Thursday, August 21, 2003 3:13 PM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] cfdump problem > > > The main reason for this is that Flash's debugging tools don't > always meet your needs and you resort to dumping an object to make > sure your code is doing what it needs to do. The debugger in > Flash is also really really slow and dumping out the object rather > than dealing with the slow-downs is much easier... > > Thanks > > Chafic > _____________________________ > Work: http://www.blinex.com > Blog : http://www.rewindlife.com > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Barney Boisvert > Sent: Thursday, August 21, 2003 5:58 PM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] cfdump problem > > What do you use recursive structures in Flash for? especially with such > frequency. > > --- > Barney Boisvert, Senior Development Engineer > AudienceCentral > [EMAIL PROTECTED] > voice : 360.756.8080 x12 > fax : 360.647.5351 > > www.audiencecentral.com > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Behalf Of Samuel Neff > > Sent: Thursday, August 21, 2003 2:09 PM > > To: [EMAIL PROTECTED] > > Subject: RE: [CFCDev] cfdump problem > > > > > > > > There are lots of situations where this recursive structures are > > useful. I > > haven't used them in CF, but in Flash we do it all the time. > > > > Here's a mini cfdump that just does structures and handles the recursive > > issue. It uses the hashCode() Barney mentioned. hashCode() is a Java > > function available on any object that creates an (almost) unique > > key for the > > object. I say almost 'cause it is theoretically possible to create a > > duplicate, but it's really rare. > > > > You'd have to expand it to work with arrays and (if you care) > > xml, java and > > com objects. > > > > HTH, > > > > Sam > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003 > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003 ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
