Coding some navigation

I’m laying out some ideas for a navigation system that i need to put together for an interactive text document. If somebody could have a look at this and give me a few pointers that would be awesome.

It involves 16 pages of text so i have set up 16 MC’s (mcPage1, mcPage2, mcPage3…).

There will be 16 buttons on the stage, one for each page and also ‘next’ and ‘previous’ buttons.

Initially page 1 will be visible. The first thing I am wanting to figure out will do the following:

btn1.onRelease … {swap current mcPage for mcPage1}
btn2.onRelease … {swap current mcPage for mcPage2}
btn3.onRelease … {swap current mcPage for mcPage3}
and so on…

So basically the code will remove the current MC and replace it with the appropriate new one. I know i could just make these mc’s visible/non-visible but it can’t work like that because they are to be used in conjunction with a scrollbar which really needs the other MC’s to be removed.

once i have solved this i would like to add the next and previous buttons also but that’s an after issue i can look at later

I hope i made that clear and you understood it alright.

with kind regards,
Alistair C