Then I am not following what you want at all.  Can you explain further?

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel
Sent: Thursday, December 21, 2006 1:31 PM
To: [email protected]
Subject: [flexcoders] Re: Copy Object

 

Thnaks Tracy, but it actually creates a new object into the object
that I want to copy to.
I need to keep the original reference of this object and then get the
contents from other objects a copy them.

Greetings.

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> I found an example, this was posted by Bjorn Schultheiss.
> 
> 
> 
> function clone(source:Object):*{
> var myBA:ByteArray = new ByteArray();
> myBA.writeObject(source);
> myBA.position = 0;
> return(myBA.readObject());
> }
> 
> 
> 
> Tracy
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of Daniel
> Sent: Thursday, December 21, 2006 1:14 PM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Copy Object
> 
> 
> 
> Hi all!
> 
> Is there a way to copy the content of an object into another object
> without losing the reference of the second one?
> 
> Thx!
>

 

Reply via email to