Suggession Please (Mulit Dimension Array)

Hey,

I need to display some set of records in flash using XML file, in following format:

check the attachment

Looks pretty easy. But the problem starts here.
User can see 1-4 sets on one page. Right now i am showing 2 above like that 4 needs to be shown if the user wans set_3 and set_4 to be shown.

But suppose if user selects one set per page, then there will be a next and back button to navigate between the sets.

Problem becomes critical when set_1 's records goes beyond one page…lets say there 1000 records in set_1, but i can display only 100 records on one page. Then I want my next button to display (0-99) on one page then (100–199) on next page belonging to set_1. And once I reach (900-999) and click on next i should jump to next set ie set_2.

I am thinking of using a multi-dimensional array. Like
myData = [sets][records]

like this…any inputs on this…thanx


aShIsH