VectorCollection Class to allow binding to an AS3 Vector
I have added a Flex lib to RIAForge to allow one to use a Vector based collection of objects with Flex binding.
VectorCollection works in the same was as ArrayCollection, allowing one use it as the source for a dataProvider.

October 13th, 2010 at 12:32 am
Interesting and it begs the question “once you add the bindings, is the performance advantage of vectors nullified?”. Just curious.
Thanks
October 13th, 2010 at 9:49 am
@John,
I have not done any performance testing, but my expectation is there is still a performance gain over using an ArrayCollection, particularly for sorting and filtering operations.
October 22nd, 2010 at 10:03 am
Good work but please can you make also a benchmark to compare the performance vs ArrayCollection.
November 9th, 2010 at 3:47 pm
good work
March 31st, 2011 at 4:59 pm
This library is completely awesome! Thanks for creating it. I have one request: could you add the license information to the header of each file for the “official” download?
April 2nd, 2011 at 10:08 am
@Tim
Thanks, I’ll make sure I do that.
January 7th, 2012 at 10:11 pm
I found binding to the length property didn’t work for me :
Where *items* is the VectorCollection. However, switching it over to an ArrayCollection worked fine.
January 7th, 2012 at 10:12 pm
Apologies, the code was filtered out.
s:Label text=”items count : {timelinePM.timelineVO.items.length}”
January 8th, 2012 at 11:53 am
@Matthew,
Hi, I’ve just tried a simple label bound to .length and calling .addItem() works fine.
Can you give steps to recreate the issue?
thanks, David