I’ve got 4 arrays with 14 objects each:
player1[]
player2[]
player3[]
player4[]
How could I trace all the objects inside 2 fors? How is the right syntax ?
The following obviously is wrong:
for(var i:uint=1;i<5;i++)
{
for(var j:uint=0;j<14;j++)
{
trace((player+i)[j].cardType);
}
}
Please Help