First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
Search tutorials
Author: JLampitt | Website: http://www.geocities.com/jlampitt

Getting Started:

For this tutorial we'll just duplicate the above movie.

It goes without saying but to be thorough... open Flash 5. Create a new movie 200 x 200, 15fps. We'll start by creating most of the symbols necessary to complete the project. To apply this menu technique in a real project you may have to go about creating pieces as you go.

  1. Create a new Button symbol and name it "Center". (This will serve to activate the menu.)
  2. Create two layers, "Dot" & "Text" with the "Dot" layer on top.
  3. In the "Up" frame of the "Dot" layer, create a circle 20 x 20, filled and stroked with black and center it by selecting the center square in the right hand section of the Info panel.
  4. On the same layer with the single keyframe in the "Up" frame selected, click in the "Hit" FRAME (not the label) and press
    F5. You should now see a continuous grey bar from the "Up" frame to the "Hit" frame.
  5. Again, on the same layer in the "Over" frame create a new Keyframe by pressing F6. Fill the circle with a different color. This will allow for a color change to reinforce the fact that the button is actually active when rolling over it with the cursor.
  6. In the "Over" frame of the "Text" layer create a new keyframe by selecting that frame and pressing F6.
  7. In the same frame and layer place a text label on screen to appear centered and directly under the dot.
  8. With the same frame selected click in the next frame over and press F5. Your text will now appear during the "Over" and "Down" states of your button. Do not allow the text to appear in the Hit frame of your button unless you specifically want the text to act as an activation point for your button. Use of text in this manner usually results in a strobe effect. If you want the text to serve as an activation point for your button create a box the size of your text block and place the box in the Hit frame.
  9. In the Library palette duplicate the "Center" Button symbol 4 times and rename each one differently. (I used "Circle 1", "Circle 2", etc.)
  10. In each new Button symbol change the circle shape fill color in the "Up" and "Over" frames as well as changing the label name in on the "Text" layer in the "Over" and "Down" frames. (I made each fill in the "Up" frame of each symbol different to make it bluntly obvious which button I was dealing with.)
  11. Go back to the "Center" Button symbol and open the symbol for editing.
  12. Double-click the circle graphic in the "Up" frame. (Double-clicking ensures you've selected the fill and outline of a shape.)
  13. Select "Convert to Symbol" from the "Insert" menu or press F8. You should see a new Graphic symbol appear in the Library. Name it "Dot" and ensure it's centered by again selecting the center square in the right hand portion of the Info panel.
  14. Create a new Graphic symbol in the Library and name it "Background". Open the symbol for editing.
  15. Create a circle. Select and delete the outline. Using the "Info" panel, select the shape, resize it to 150 x 150 and center it. Fill the circle with a dark blue. Close the symbol and return to "Scene 1".
  16. Again, create a new Graphic symbol in the Library and name it "Mask". Open the symbol for editing. (We're going to make the "net" that catches mouse roll over/roll out events which in turn will deactivate the menu.) (Follow these next steps very carefully!)
  17. Create a square shape. Select and delete the outline. Again, using the "Object" palette, select the shape and resize it to match the window size of your movie (in this case it's 200 x 200). With the center point option enabled in the Info panel as before, position the shape centered on the "X" axis and slightly below on the "Y" axis. (Mine is set to X:-100, Y:-85.) Fill the shape with a neutral color like gray.
  18. Open the symbol "Background", select the circle shape and copy it.
  19. Open the symbol "Mask" and "Paste in Place" the circle shape over the top of the gray square shape.
  20. With the symbol "Mask" still open, deselect the circle shape by clicking in the area around the two shapes now on screen.
  21. Reselect the circle shape and delete it. We've now punched an exact hole through our "net". I'll explain the madness later.
» Level Intermediate

Added: 2001-01-16
Rating: 8 Votes: 129
(10 being the highest)
» Author
Jason Lampitt is an Interactive Developer for a major media development firm in Englewood, Colorado. He has a background in fine art as well as graphic design and has been developing multimedia titles for the past 6 years. Jason has a passion for bringing design to life through multimedia and helping others to understand the sometimes complex and confusing world of interactive development. In his spare time Jason is an active outdoorsman, mountain biker and family man.
» 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.