Is there a faster way to create a vector than:
var vect1:Vector.<int> = new Vector.<int>(4,true);
vect1[0]=1;
vect1[1]=2;
vect1[2]=2;
vect1[3]=2;
I have thought that this could be done (as an Array), but it gives an error 5003
var vect1:Vector.<int> = [1,2,2,2].<int>
Any ideas?