Is it possible to layout XML-created (attachMovie) MCs in a grid?

I’m needing to layout a large group of MCs (dynamically populated with XML) into a grid. 6 MCs first column, 5 MCs 2nd, 5 MCs 3rd, 6 MCs 4th. I usually do this in a horizontal layout, but as it is for a kiosk, the client wants it in the grid format. A next and previous button would jump to the next “grid” of MCs.

I’m not familiar with nested loops, but am thinking that they would accomplish this. Any ideas?

Thanks…