For Loop As3 Question

Im making an astar path finding algorithm in AS3.

In AS1.0 you could write a for loop using:

for(var b in myArray) {

}

Does anyone know how this can be done in AS3.0?
It would be much appriciated!
snoopyUK =)