ArrayCollection versus Vector Objects in FLEX

Posted by Vetsin on Stack Overflow See other posts from Stack Overflow or by Vetsin
Published on 2010-04-20T02:06:16Z Indexed on 2010/04/20 2:13 UTC
Read the original article Hit count: 633

Filed under:

Can anyone tell me the applicable differences between an ArrayCollection and a Vector in flex? I'm unsure if I should be using one over the other. I saw that Vector is type safe and that makes me feel better, but are there disadvantages?

public var ac:ArrayCollection = new ArrayCollection();

versus

public var vec:Vector.<String> = new Vector.<String>();

Thanks.

© Stack Overflow or respective owner

Related posts about flex