 |
|
|
|
| This is the final part of this Flash tutorial. Next, create a layer above the button layers and create a blank key frame (f7)at frame 15. Add the text for button1, using the settings shown below. |
 |
|
|
| |
|
|
|
| Add the rest of the button's text in the same text field. |
 |
|
|
| |
|
| Create another laye called script and create a blank key frame (f7) at frame 15. |
 |
|
|
| |
|
| Add the code below. This code has an onPress function for each button instance name. First off all the when each button is pressed, the menu is told to go back to frame 1, where there are only blank key frames. Then pages MC is told to go to it's corresonding label. It is refered to as _parent because it's on a level below the Menu MC. |
 |
|
|
| |
|
| Add a stop code on frame 1. |
 |
|
|
 |
|
| Go back to the main timeline and make sure that the layers are organised like the image below. Give the tutorials button the instance name "mainButton" |
 |
|
|
 |
|
| Add a script layer and enter the code below. This will tell the menu to start moving, by going to frame 2. |
 |
|
|
 |
| Save the file and publish the flash movie, bringing us to the end of this Flash tutorial! Download Fla |
|
Part: 1 | 2 | 3 | 4 | 5 | 6 |
|
|
|
|
|
|
|
 |
|
 |