 |
|
|
| Making the Menu Change the Sections |
|
 |
 |
|
| Step 39. |
| This is the 5th part of this flash tutorial, where we'll be enabling the sections MC to respond to the menu buttons. Click on frame 1 of the labels layer and, at the properties panel, enter home for the frame label (cirlced in green). We've done done so that we can later write some script to make the secion_mc go to this label, when the home_btn is pressed. |
 |
|
| Step 40. |
| Create a blank key frame (F7) at frame 10, and add a label called "portfolio". |
 |
|
| |
| Step 41. |
| Add anpther label at frame 20 for the blog section. You can extend the lables layer to frame 30, by pressing F5. |
 |
|
| |
| Step 42. |
| So now that we've created the frame labels, go back to the main MC. |
 |
|
|
| |
| Step 43. |
| Click on the section_mc, go to the properties panel and give it the instance name "sections" |
 |
|
|
| |
| Step 44. |
| We can now add some code that will tell the "sections" instance to go to a specific label, when the corresponding button is pressed. |
 |
|
|
 |
|
|
|
|
|
|
 |