If you're familiar with the concept of a "deep copy", then you can
apply the same to a compare function (of course you'll have to write
it yourself ;). Anytime you are dealing with a complex and/or custom
type it's a good idea to plan on comparison and choose what is, in
fact, 'equal'.

This can be usefull if you decide that sometimes 'equal' is equal
enough, and other time equal has-to-mean equal.

Pick what you think you need to include, and do an item by item
comparison (in the 'normal' sense) with a Bool that tracks the overall
result.


Good Luck

--- In [email protected], "Stacy Young" <[EMAIL PROTECTED]> wrote:
>
> Wondering how others would go about comparing instances of complex
> objects while avoiding circular references and having flash explode?
> 
> Thx!
> Stace
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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/
 


Reply via email to