# Vector - yet another frustration :(

**URL:** <https://forum.kirupa.com/t/vector-yet-another-frustration/300983>\
**Category:** flash\
**Created:** [December 1, 2009, 10:09pm UTC](https://forum.kirupa.com/t/vector-yet-another-frustration/300983 "2009-12-01T22:09:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wvxvw](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@wvxvw](https://forum.kirupa.com/u/wvxvw)\
**Post date:** [December 1, 2009, 10:09pm UTC](https://forum.kirupa.com/t/vector-yet-another-frustration/300983/1 "2009-12-01T22:09:21Z")

</div>

It’s not serializable… after all other things…

```auto
var v:Vector.<Boolean> = new Vector.<Boolean>(100, true);
var ba:ByteArray = new ByteArray();
registerClassAlias(" __AS3__.vec.Vector.<Boolean>", Vector.<Boolean> as Class);
registerClassAlias(" __AS3__.vec.Vector", Vector);
ba.writeObject(v);
ba.position = 0;
var o:Object = ba.readObject();
trace(getQualifiedClassName(o)); // __AS3__.vec::Vector.<Object>
v = Vector.<Boolean>(o);
trace(v); // Conversion succeeds but typing is lost
v = o as Vector.<Boolean>;
trace(v); // Fails...

```

That’s just helpless…
