AS3 serialization of Vector of custom objects

Posted by aaaidan on Stack Overflow See other posts from Stack Overflow or by aaaidan
Published on 2010-03-26T03:41:02Z Indexed on 2010/03/26 3:43 UTC
Read the original article Hit count: 542

Filed under:
|
|
|
|

What is serialization support like for the new Vector class. I have a Vector.<GameMove> which I'd like to serialize into a ByteArray. GameMove is a custom class.

I presume it's necesssary to call registerClassAlias() on GameMove, but do I also have to register Vector.<GameMove>? It's it it's own distinctive type, or is it kinda composed of those two types?

© Stack Overflow or respective owner

Related posts about as3

Related posts about flash