The "i" in the for loop is just a variable. You could name it whatever you want, but it is standard practice to use "i".

In as3 you would need to define the variable inside the for loop like this:
for(var i:uint=0; i<array.length;i++){
//the code to execute would go here
}

I will take a look at your Fla over the weekend.