21. Convert your back button in to Button (F8)

22. Select button (you must press on button, not on frame with button) and in actioscript window write:

on (release){
_root.gotoAndStop("menu");
}
23. Go back to root
24. Add new layer and select his first frame.

25. Set Frame name to menu

26. OK, now select your text background (layer pages) on frame 2.

27. Right click on frame and choose Copy frames.

28. Then, on the same layer, right click on frame 3 and press Paste frames.

29. Do the same on frame 4, 5, 6, 7, 8 (if you have 7 links on your menu bar, you must have 8 frames (including 1st frame with menu bar)). At the end, you should have this:

30. Now, you need to change text in every page. Select 3rd frame. Right click on text background and set Duplicate symbol. Set name for your new symbol.



31. Double-click on text background. Go to frame 10 (layer text) and change text for this page.

32. Go back to root.
33. Repeat steps 30. 31. and 32. for frames 4, 5, 6, 7 and 8 on text background layer.
34. OK, now just set actionscript for buttons on menu bar and that's it. Select first button on menu bar.

35. Open actionscript window (F9) and write:
on (rollOver){
_root.button01.gotoAndPlay(2);
}
on (rollOut){
_root.button01.gotoAndPlay(11);
}
on (release){
gotoAndPlay("1");
}
* first six row you might have if you did complete Flash tutorial #1. In that case, you just need to add last 3 rows.
36. Do the same with all other buttons, just change number in this line - gotoAndPlay("1"); (for 3rd frame it must be number 2, for 4th frame number 3, for 5th frame number 4 ect.)
37. On actionscript layer add 7 more keyframes (F6) like on picture below.

38. In every keyframe (including the 1st frame) in actionscript window (F9) add stop code:

stop();
39. Now select every frame separately (from 2nd to laste frame, without 1st frame) and write Frame name. For 2nd frame it's 1, for 3rd it's 2 ect.

|