Putting an element at index Array .length creates a new element right after the current last element
package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var array:Array = new Array(); array.push("val 1", "val 2"); array[array.length] = "val 3"; trace(array); } } }