Creating a Table

hey Help Please.
I need to create a table and i need to be able to add data and change the data automatically using values computed by other functions. I was trying to use arrays to create the rows of the table but i dont know how to individually name each array. The arrays have to created automatically and so i cannot name each array manually.
this is what i was trying:

on(press){
i=0;
while(i<10){
var name =(“RouterA”+i)
name = new Array (“1”,“2”,“3”);
i++;
}
trace (RouterA2.toString());
}

but the value for the array is undefined. how to make this work?? :-/ Help please very very urgent!
Thanx