First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
Search tutorials
Author: Quirino Cardozo | Website: http://www.alzuari.com/quirino

Anyways, down to your tutorial. I'm assuming you have basic knowledge of actionscript for this. This is very simple, but since I have written each step in detail, it looks like a very big tutorial, so don't get scared by the length dude! On your marks, set, go...

  1. Start up Flash, if you don't already have it started.
  2. In your new document, create a new button symbol and name it butt1 or something.
  3. Create all the frames - over, down and hit frames the way u normally would with a button (with some variation for the Over and Down frames)
  4. Create a movie symbol and name it MainMenu.
  5. In here, on the 1st layer, 1st frame place your button symbol (we will call this the Parent button).
  6. Add a "stop" action on this first frame.
  7. Insert a keyframe on the 5th frame.
  8. Create a 2nd layer and insert a keyframe on the 5th frame again, this time of course on the 2nd layer.
  9. Here, (on the 2nd layer, 5th frame) place copies of the button from the library the way you would want them to appear when the user's mouse is over the parent button. We will call these buttons "child buttons". Remember to place them as close to the parent button, or to one another as possible. This frame should show the completed menu, ie. the Parent button alongwith the child buttons upon mouseover.
  10. Next, right-click on each of these child buttons and from their Properties, select "Track as Menu Item".
  11. Now create a new layer 3, and insert a keyframe on the 5th frame again.
  12. Draw a square large enough to cover all the buttons on the stage.
  13. Select it and press F8. That is to convert it to a symbol. Make it a button symbol and let's call this "Back", cos' that's what it will be doing.
  14. Edit the button, and insert a keyframe only on the last frame. i.e the Hit frame. Delete the square and insert blank keyframes on the other three frames - Up, Over and Down . You should see a bluish square in the place of the square you just created.
  15. Next return to the MainMenu movie clip.
  16. Select the 3rd layer and drag it to the bottom of the lot. So the order would look like frame3, frame1, frame2.
  17. Now select the Parent button on the 1st frame and insert this action: On RollOver, goTo frame 5 and stop.
  18. Select the "Back" button (large square button) on the 5th frame, and insert this action: On RollOver, goTo frame 1 and stop.
  19. That's all to it! Now place your MainMenu movieclip on your main stage and test it.

I am attaching the .fla file I used while typing this tutorial for your reference. Do drop me a line if you're still getting stuck somewhere.

All the best, and remember to get creative once you get the hang of this. Check this to see what I mean-
http://www.donboscomumbai.org/cookie/dubaigolf/index3.htm
There's humongous stuff u can do knowing how to manipulate menus... ;)

» Level Intermediate

Added: 2004-10-11
Rating: 6 Votes: 84
(10 being the highest)
» Author
Flash designer, presently in Dubai UAE.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: doc_chin7
» Description:

The flash's horizontal road drive was done in CS4 and was upgraded to CS6. The car responds to right/ left key and flash will auto-generate the movement of roads from left-right or right-left based on random number. Have fun driving in this virtual environment and avoid other cars... :) If you are creative, a road driving game can be created from it.

Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.