Saturday, November 8, 2008

ActionScript Unshift method

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");

trace(albums); //Record5,Record1,Record2,Record3,Record4

1 comment:

Anonymous said...

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;