I have an Object, and I need to copy all its properties to another Object. I have tried simply assigning one object to the other like this: myNewObject = myObject;
However, that causes a weird problem. When I change a property of myNewObject, the same property changes in myObject!
Please help, I don't understand why setting values in one object should affect values in another.
Using Flash MX (not 2004).
Thanks
However, that causes a weird problem. When I change a property of myNewObject, the same property changes in myObject!
Please help, I don't understand why setting values in one object should affect values in another.
Using Flash MX (not 2004).
Thanks