6 Replies Latest reply on Jun 10, 2009 1:09 PM by leybniz

    Native Array descendant can't be restored from SharedObject

    leybniz Level 4

      Let's say we have a class like this:


      class myArray extends Array {



      And I'm going to serialize this object to AMF3, even if I'll use registerClassAlias() or [RemoteClass=""] notation

      I'm not able to retrive it back as 'myArray' instance, but native Array appears instead.


      My guess is that FP AMF3 serialization/deserialization code contains something like this:


      if (objToSerialize is Array) {

        // serialize it as Array

        outObject  = new Array('bla', 'bla');



      Since myArray is Array also, classAlias feature won't work for this.. (((