Creating The Button
Create a graphic which will be the top level of your menu, and make it a button and call it MenuButton. Create the Over and Hit frames - it makes for a more interesting menu. You don't need to add a down state because we won't be clicking it.
Next, create another button which we will use for the items in the submenu. Don't add text to this. Call it SubButton. Also add the Over, Down and Hit frames.
Now we come to the fun part. Create a submovie (F8, movie) containing your MenuButton. Call it PopMenu. Make sure this is centered to the page (use the Align tool).
Editing PopMenu, create two more layers and name them in this order: Frames and Actions, MenuButton (this one is the original layer), MenuItems
Now down the timeline (say about frame 20) create some keyframes by pressing F6. Make sure there is a keyframe (blank or used) in each layer.
At Frame 1 on Frames and Actions double click it and label it Hidden. Also add an action to this frame to Stop (click the + button, then choose Stop).
|» Level Intermediate|
Rating: 6.99 Votes: 1065
|Brett Taylor is a multimedia student from Wellington, New Zealand. He sees computer things done and thinks 'Hey, I could do that in Flash!'|
|Download the files used in this tutorial.|
|Download (44 kb)|
|More help? Search our boards for quick answers!|