1 Reply Latest reply on Oct 6, 2009 3:32 PM by Flex harUI

    How to deep copy while [RegisterClass] in use?

    salfhhhhhg Level 1

      Hi all,

       

      I have class sklep.dto.CategoryDTO.as which is externalizable class and uses [RemoteClass] pointing to sklep.dto.CategoryDTO.java on server side. I need to deep copy CategoryDTO.as, but when i try to do this with serializing through AMF to ByteArray, my .as class got stripped off any functionality it had before in .as class, but which is not present in .java class and implementation of IExternalizable. Is there any other way to make a deep copy of object, because i'm not willing to make changes in my implementation of IExternalizable? Greetings.