Search Tutorials
Constructing the Page ButtonsCreate a button symbol (I shouldn't need to tell you how to do this). Create as many instances of the button as you have pages and a couple more - for the back and forward buttons, put these on the buttons layer. Arrange these as you like, use the text tool to add page references to each of the buttons including the back and forward buttons. On the page buttons add this script: on (release) {
gotoAndStop ("1");
_root.forward.splice (0);
}
The gotoAndStop action relates to the page you want it to visit so change the page reference in the ("") as appropriate, remember the "" -this tell the player to look for the frame label not the frame number. The _root.forward.splice (o); deletes the information in the forward array - we need to do this because once we have finished using the back and forward buttons and begin to use the the page reference buttons to navigate we do not want to return to previously visited pages when we click on the forward button (- this is similar to how IE and Netscape work).
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|