m00n_de wrote:

>how is it possible to clone an object, rather than creating a
>reference to an object ?
>  
>

Use mx.utils.ObjectCopy - 
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/utils/ObjectCopy.html

It's "for internal use only" but usage is as such:

var instance2:SomeClass = SomeClass( ObjectCopy.copy(instance1) );

-d




--
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