Hi,

I am trying to make a game with 12 clips representing players which I have stored in an array but I need to add properties to them (if I say it right) in order to be able to code them for movement.

The array is named: playersArray and its elements are [localGoalie, player1, player2, player3, player4, player5, visitorGoalie, player1, player2, player3, player4, player5] referring to the dynamically attached movies.

I have noticed you can simply add the property if the movie is on stage, like so: player1.vx = "whatever", but if I try to add this "vx" in a loop, I can't manage to get a trace on it.

This doesn't work:

for (i=0;i<playersArray._length;i++){
playersArray[i].vx = 1;
}

is it because the clips are not on the stage, should I build an object...?

Any help?

thanks in advance