Map making

I am making a sideways scrolling map, and I know it is possible to make a small map and get flash to duplicate it so that it flows like a long map.

I was wondering if it was possible to make several small maps and get flash to duplicate them in a random order so that every time the game is played, the map will display differently.

I have been looking for a solution and was thinking about numbering them 1 to what ever amount I make, then use the random number function in flash to randomize the map played, however I don’t know if this is possible or how to write it properly to make it work.

Can some one please give me a push in the right direction?