Hi Doug, We simply don't have ArrayCollection in Royale, that's why you are receiving such issue. Does changing to a simple array will cost you a lot ? If you receive from AMF simple array - you can get it in Royale and wrap up it to ArrayList in order to take advantage from Binding.
Piotr 2018-05-09 10:57 GMT+02:00 doug777 <[email protected]>: > My RemoteObject returns a complex Object in part of which CF has specified > what looks to me like a simple array as an ArrayCollection in the returned > AMF Data. (Works ok in the old SWF project.) > > Stepping through the code in the browser debugger, when the reader reaches > the n of ArrayCollection in reader.data, it immediately errors with the > message : > > e : "Failed to deserialize: Failed to deserialize: Failed to deserialize: > ReferenceError: Class flex.messaging.io.ArrayCollection could not be > found." > > Looking into AMFBinaryData.as, I can see that the execution (after reading > in "ArrayCollection") follows the path to readScriptObject() at line 868 > and > then goes to line 877. > > Unfortunately traits.alias is true and it then fails when trying to get the > classAlias. It looks to me as though lines 894 - 898 or something like this > are also needed in the traits.alias section. > > Doug > > > > -- > Sent from: http://apache-royale-users.20374.n8.nabble.com/ > -- Piotr Zarzycki Patreon: *https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>*
