public unshift(value:Object) : Number
Adds one or more elements to the beginning of an array and returns the new length of the array.
value:Object - One or more numbers, elements, or variables to be inserted at the beginning of the array.
Number - An integer representing the new length of the array.
The following example shows the use of the Array.unshift() method:
var pets_array:Array = new Array("dog", "cat", "fish");
trace( pets_array ); // Displays dog,cat,fish.
pets_array.unshift("ferrets", "gophers", "engineers");
trace( pets_array ); // Displays ferrets,gophers,engineers,dog,cat,fish.
pop (Array.pop method), push (Array.push method), shift (Array.shift method)