Step 7: Creating the Invisible
Button
The invisible button will be a sort of "catch all" button
that will respond to the cursor being rolled off the main menu
items. We want the menu to go back to the starting place when
the user mouses off the buttons.
- Create a Keyframe (F6) at Frame 22
on the Invisible Button Layer.
- Select the Rectangle Tool
and draw a large rectangle over the stage except the areas
around the menu items. We're going to create a button out of
the rectangle. It's not important what color the rectangle is
as it won't be visible.
- Select the entire rectangle
and convert it to a button by clicking F8
- Edit the button by double clicking it and moving the Over
keyframe to the Hit keyframe
- Return to the mainMenuMC
- Select the invisible button you just created and add a
Play action to it
Be sure to change "release" to "rollOver"
Step 8: Adding the final Frame
Action
At Frame 34 on the Actions Layer, add the following Go To
action. This will reset the animation to the beginning after the
menu items have animated out.
|