Is this difficult? Please help!

Please excuse my utter ignorance… I’m new to actionscript!

I’m trying to achieve an effect with a transition between pages in scene1 of a single swf file (ie. not loading external swf’s), something like this:

Let’s say I’m on page1 and I want to go to page3. When I press the page 3 button I want to trigger an animation that hides the content of page1, and when the animation finishes I want it to show the contents of the new page (page3 in this scenario).

I don’t want it to swap page1 and page3 until the page contents are completly obscured by the animation, but I have no idea of how to do this.

Can anybody help me?