Creating a Menu
|
Top Previous Next |
![]() |
7. | Select the Shape Object Panel and select a solid Line and set its width to 2 pixels. Change the Line color to a dark green and the Fill color to a light gray and uncheck the 'Track as Menu' option if it has been checked. The 'Shape Object' Panel should appear as shown below:
|
![]() |
7. | While the rectangle shape is selected, press ![]() ![]() |
8. | Select the ![]() |
9. | Select the Transform Panel and change the width of this shape to W: 700 and the height to H: 450 (the 'X=Y' boxes should not be checked). Center the Object on the stage by changing the value in the 'X:' box to 350, and the value in the 'Y:' box to 225
|
10. | Select the Shape Panel and select a solid line border, and change the Line color to a dark green and the Fill to None
|
11. | From the File Menu, select Test | Test in Player to check that your rectangles are placed correctly. Your introduction will play first and this Scene will follow. Close the 'Player' window
|
12. | Select Scene_2 from the Outline Panel
|
13. | Select the 'LINK 1' button and press the ![]() |
The 'Layout' Panel should look like this:
|
|
![]() |
Before making a Menu, you may want to consider whether you want your buttons to look more or less the same and whether you want them to have similar behaviors. If you want your buttons to look uniform, it can save a lot of time if you create one button and then copy and paste as many of those buttons as needed, and then go into the different states to change the text. This way, the buttons will be consistent in size and color. If you want the buttons to have similar behaviors as well, you should add any sounds and perhaps some or all of their Actions before copying and pasting. You can always go into the different states and change the specific Goto Scene or URL references.
|
|
For this tutorial, all buttons will have the same sounds attached to the On(rollover), and on(Press) Events, but the other Actions will be different. As these sounds have already been attached, you can begin copying and pasting the 7 additional buttons we will be using
|
17. | Select and move the last copied button, so that it is in the top-right-hand corner of the top rectangle. The other two buttons will be aligned to be evenly placed between this and the first button
|
18. | To align the buttons horizontally, select all four buttons in the 'Outline' Panel by holding the CTRL key down and pressing the left mouse button. Once the four buttons are selected, use the Menu option Modify | Align | Relative to All Selected. Then use the Menu option Modify | Align | Distribute | Center (Horizontally). This will distribute the four buttons betwen the first and the last pasted buttons
|
19. | To Align the buttons vertically, use the Menu option Modify | Align | Top, to align them to the top-most button
|
20. | Use the copy ![]() ![]() |
The 'Layout' Panel should look something like this:
|
|
![]() |
The 'Layout' Panel should now look something like this:
|
|
![]() |
26. | From the File Menu, select Test | Test in Player to check that your buttons are placed correctly. Position the mouse over the button and click on the button to ensure that the text was altered for each of the button states
|
27. | When you are satisfied with your Menu, save your Movie
|