var ac:ArrayCollection = new ArrayCollection([1...1000]); for( var i:uint = 0; i < ac.length; i ++ ) trace( ac.getItemAt( i ) );