Hi there. This is a basic questions!
How can i add another value to the end of an array?
This is my code:
var ThumbArray:Array = new Array();
ThumbArray[0] = ["70317", "name70317", "2"]
ThumbArray[1] = ["28076", "name28076", "3"]
ThumbArray[2] = ["28085", "name28085", "1"]
ThumbArray[3] = ["28006", "name28006", "3"]
Say for example i now want to add another value (ThumbArray) how would i do it?
i think this would work, but this is clearly not the best way to do it??
ThumbArray[(ThumbArray.length)] = ["28006", "name28013", "2"]