More fun with grids

Last thread I had made, I was getting help with a grid I had created out of one Movie Clip.
Now I’ve been experimenting with creating a grid, but using several Movie Clips.
I have four colored tiles, and would like to generate a 5x5 grid (to start) with said tiles, placed at random.

I’ve done some research, and here’s the code I have so far.

var myArray:Array = new Array();
var totalRows:Number = 5;
var totalColumns:Number = 5;
var spacing:Number = 5;

var red:Red = new Red();
var blue:Blue = new Blue();
var green:Green = new Green();
var yellow:Yellow = new Yellow();
var Grid:Array = [green, red, blue, yellow];

for (var row:Number = 0; row < totalRows; row++) {
    if (myArray.length-1 < row) {
    for (var column:Number = 0; column < totalColumns; column++) {
        var randomColor:Number = Math.round(Math.random()*(Grid.length-1));
        var colorMC:MovieClip = Grid[randomColor];
        colorMC.x = row * colorMC.width+spacing;
        colorMC.y = column * colorMC.height+spacing;

for (var i:Number = 0; i < myArray.length; i++) {
    for (var j:Number = 0; j < myArray*.length; j++) {

Right now, as you can probably tell (better than I can) from the code, when it runs, the program only creates one box of each color and places it randomly. Anyone have any pointers?