.

Step Nine: Making the Menu Buttons Work

Although the Menu should now be working correctly the Buttons don't actually function. This last section will make them function correctly

1.Open MC1 by double clicking on: Movie Clip 1
2. Select: Button 1

Tip: In the top left of the Actions Panel you must be able to read:

3. Place the following code on: Button 1

on (release) {
              _root.gotoAndStop(10);
          }


4. Place the following code on: Button 2

on (release) {
              _root.gotoAndStop(20);
          }


5. Place the following code on: Button 3

on (release) {
              _root.gotoAndStop(30);
          }


6. Place the following code on: Button 4

on (release) {
              _root.gotoAndStop(40);
          }


7. Place the following code on: Button 5

on (release) {
              _root.gotoAndStop(50);
          }


8. Place the following code on: Button 6

// Note this goes back to frame 2 which is the first real frame or Home Page
on (release) {
              _root.gotoAndStop(2);
          }



9. Test Your Movie: Control - Test Movie (Ctrl + Enter)
10. Place the Mouse over the: Menu bar

Note: All your Buttons should now work.

11. Close the Test Window:

Your Movie should have a Menu that swings in with buttons that go to different locations in your Flash Movie. I hope you found this tutorial useful and easy to follow.





No comments found ! Click here to be the first adding comments for this tutorial!