Have a look at mx.utils.ObjectUtil.copy()
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Fri, 8/22/08, piotrchruscielewski <[EMAIL PROTECTED]> wrote:
From: piotrchruscielewski <[EMAIL PROTECTED]>
Subject: [flexcoders] How to copy each
Hi
I`ve got one small question, that I still can`t resolve.
suppose we have class Person , and variables:
var p1:Person;
p1.name = 'John';
not we have some other reference to this object (for.ex. from other
part of program)
var p2:Person = p1;
If I`ll now make
p1.name = 'Steve'
of course
2 matches
Mail list logo