Auto numbering movieclips inside arrays

Hey all,

I’ve created a game of top trumps.

64 cards and randomized and the 30 are selected.

The 30 are then split between 2 arrays, one called PlayerCards and the other called AICards

Only problem is that the cards don’t play in any order and often the same card is played 2-3 times in a row.

I want to number the random cards in each the PlayersCards and AIsCards 0-14.

So my question is how do I number the 15 cards in both the PlayerCards and AICards arrays?

Thanks in advance.