To add one or more elements to the begining of an array, you will have to use unshift method of Array class.
var albums:Array = new Array("Record1","Record2","Record3","Record4");
albums.unshift("Record5");
trace(albums); //Record5,Record1,Record2,Record3,Record4
Subscribe to:
Post Comments (Atom)
1 comment:
I have read so many articles about the blogger lovers except this paragraph is genuinely a
pleasant post, keep it up.
Feel free to visit my webpage; http://wealthwayonline.com/cheap-jerseys.htm
Post a Comment