array.toString and array.concat are a couple Array Methods I do not think you have included. They are quite simple - toString changes the variables, numbers, etc. into a string, then adds all the "elements," if you will, together seperated by commas. A similar method, join, does nearly the same - instead of being seperated by commas, however, the "elements" are seperated by a character of your choice, as typed in the arguments of the method. i.e.
myArray = new Array();
for(i=0; i<5; i++){
myArray[i] = i;
}
trace(myArray.join(" - "));
The output, of course, would be 1 - 2 - 3 - 4 - 5.
concat concatenates arrays together, the second array being the argument of the first. i.e.
myArray2 = new Array();
myArray3 = new Array();
for(i=0; i<5; i++){
myArray2[i] = i;
myArray3[i] = i;
}
trace(myArray2.concat(myArray3));
The length property of an array adds 1 to the amount of "elements" that are in an array - for example:
myArray4 = new Array;
myArray4[0] = 1000;
myArray4[6] = 10000;
trace(myArray4.length);
The output in this example would be 7, even though it appears as though it should read as 2. This is because the length property does not actually count each "element" in an array, but simply adds 1 to the last (because the contents of arrays start at the number 0, Flash adds 1 so that the number displayed is the number of elements as a normal person would count). In other words, you cannot always trust length to display correct results.