Did you call registerClassAlias or use [RemoteClass] metadata?

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of flexaustin
Sent: Wednesday, October 28, 2009 3:40 PM
To: [email protected]
Subject: [flexcoders] bytearray.readObject doesn't convert my objects back



So I am using

var myArray:Array = [someObjectOfTypeObject, someOtherObjectOfTypeObject ];

bytearray.writeObject(myArray);

var blah:Array = bytearray.readObject();

Blah comes back with two Objects but not someObjectOfTypeObject they come back 
with generic "Objects" and no data inside?

Anyone have a clue on this? someObjectOfTypeObject and 
someOtherObjectOfTypeObject are of a special type of Class in my app so
someOtherObjectOfTypeObject:FooClass.

Why doesn't it put them back as the correct type?

Reply via email to