Drawng a grid

hi,

I want draw a grid in actionscript. I want to take a sqaure sprirte and add it 5 times then go to the next line and add 5 more till I get a 5 X 5 grid. Also I would if possible like to make the grid editable so I can change the row and column values so I can make it any size I want.

Preferably the squares would tween in.

Thanks.