SWF (preview)
.FLA (click to download)
Start making three keyframes.
Put this stop script into each frame(select the frame and press F9 twice) :
stop();
Now make som content in each frame, for example:
write "Page1", "Page2" and "Page3" in frame 1,2,3.
Create a new button, Insert>New symbol, choose "button", and name it "next".
Create another one, and name it "prev".
Make a new layer and name it buttons(place it over the content layer, so the buttons don't disappear behind the content)
Open the library (Ctrl + L), and drag the buttons to the frames like this:
Frame 1 - Next button
Frame 2 - Next & Prev button
Frame 3 - Prev button
Frame1

Frame2
Frame3
Insert this code into the next buttons:
on(press){
nextFrame();
}
And this into the prev buttons:
on(press){
prevFrame();
}
Test your movie, and we are done! =)
The codes:
on(press){
}
}
This means that when you press the button, everything between { and } will happen.
Also try with on(release), on(rollOver)... =)
nextFrame();
Means that the movie will go to next frame.
And I don't think you need an explanation of the prevFrame(); code =D djodin












