• home
  • forum
  • my
  • kt
  • download
  • Fresh white and green flash menu

    Author: 2008-10-29 10:01:57 From:

    This lesson will show you how to create advanced fresh white and green flash menu. To create this attractive menu, you have to use A.S.code. This menu you can use for any web site. Learning this lesson, you will also learn how to design this menu, how to animate it, how to use Free Transform Tool (Q) and more

    Step 1

    Open a new flash document. Select Modify > Document (shortcut key: Ctrl+J ). Set the width of your document to 170 pixels and the height to 225 pixels. Select white as background color. Set your Flash movie's frame rate to 28 and click ok.



    Step 2

    Take the Line Tool (N) and go to the Properties Panel (Ctrl+F3) below the stage. Then, choose the following options:

    1. Enter #595A5A for the stroke color
    2. Select Solid as the type of outline, with the line thickness set to 1.
    3. Turn on the Stroke hinting option to get rid of any blurry edges while drawing.



    Then, draw a five lines like it is shown on the picture below.



    Step 3

    Take the Selection Tool (V) and select the lines that you just created. Then, go to the Align Panel (Ctrl+K) and do the follwing:

    1. Make sure that the Align/Distribute to Stage button is turned off,
    2. Click on the Distribute vertical center button.



    Now, you have this:



    Step 4

    Take the Text Tool (A) and go to the Properties Panel below the stage. Then, choose the following options:

    1. Select a Static Text field,
    2. Select any font, for this example I have used Franklin Gothic Medium font and I have bold it.
    3. Choose any size of font. For this example I have used 15 as font size.
    4. Select #4D5656 as color,
    5. As the rendering option, select Anty-alias for readability.



    Then, type the name of buttons like it is shown on the picture below.



    Step 5

    Take again the Selection Tool (V) and select the all buttons name. Then, repeat step 3. Now you have this:



    Now, we have designed the menu and it's time for aniamtion.

    Step 6

    Take the Selection Tool (V) and select the first buttons name (in my example “ABOUT US ”). Then, press F8 key (Convert to Symbol) to convert this buttons name into a Movie Clip Symbol.



    Step 7

    While the new made Movie Clip is still selected, go again to the Properties Panel below the stage. On the left side, You will find the Instance name input field there. Call this Movie Clip “AboutUs_mc”.



    Step 8

    Double-click on the movie clip on stage with the Selection tool(V).You should now be inside the Movie Clip.



    Step 9

    While the button name ("ABOUT US") is still selected, press again F8 key (Convert to Symbol), to convert this name again into a Movie Clip Symbol.



    Step 10

    Click on frame 10 and press F6 key.

    Step 11

    While you're still on frame 10, move the text a little right using the arrows key or by mouse. See the picture below.

    Step 12

    While you're still on frame 10, take the Selection Tool (V) and click once on the text ("ABOUT US") to select it. Then, go to the Properties Panel (Ctrl+F3) below the stage. On the right, you will see the Color menu. Select Tint in it, for Tint color choose black and put it down to 100%. See the picture below.



    Now, you have this:



    Step 13

    Right-click anywhere on the gray area between the two keyframes on the timeline and choose Create Motion Tween from the menu that appears.See the picture below.



    Step 14

    Create a new layer above the layer 1 and name it animation. After that, take the Selection Tool and move the animation layer below the layer 1.



    Step 15

    Lock layer 1, select the animation layer and take Rectangle Tool (R). In the Colors portion of the Tool panel, block the Stroke color by clicking on the little pencil icon and then on the small square with the red diagonal line. For Fill color choose #CBE9AA and draw a “rectangle” below the text about 147 ×2px. See the picture below.



    Step 16

    While the rectangle is still selected, press F8 key (Convert to Symbol) to convert this rectangle into a Movie Clip Symbol.



    Step 17

    Then, click on frame 10 and press F6 key. After that, take the Free Transform Tool (Q), press and hold down Alt key and do the following.



    Step 18

    Go back on the first frame, take the Selection Tool (V) and click once on the rectangle to select it. Then, go to the Properties Panel (Ctrl+F3) below the stage. On the right, you will see the Color menu. Select Alpha in it and put it down to 0%.



    Step 19

    Right-click anywhere on the gray area between the two keyframes on the timeline and choose Create Motion Tween from the menu that appears.See the picture below.



    Step 20

    Select again frame 10 and press F6 key five times.



    Step 21

    After that, click on every second frame, except last two frames and press delete key on the keyboard. See the picture below.



    Step 22

    Go back on the main scene (Scene 1).

    Step 23

    Create a new above the layer 1 and name it invisible button. After that, create the invisible button over the first button in menu. See the picture below.



    Step 24

    While the Invisible Button is still selected, go to the Action Script Panel (F9). Then, enter the follwing action script code inside the actions panel:

    on (rollOver) {
    _root.mouse_over_AboutUs_mc= true;
    }

    on (rollOut) {
    _root.mouse_over_AboutUs_mc= fstartlse;
    }

    on (release){
    getURL("http://www.flashfridge.com/");
    }

    Step 25

    Create a new layer above the invisible button layer and name it action.



    Step 26

    Click on the first frame frame of layer action, go again to the Action Script panel (F9) and enter the following action script code inside the actions panel:

    _root.AboutUs_mc.onEnterFrame = function() {
    if (mouse_over_AboutUs_mc) {
    _root.AboutUs_mc.nextFrame();
    } else {
    _root.AboutUs_mc.prevFrame();
    }
    };

    We're done with the first button in menu. Repeat this process for every other buttons in menu.

    Enjoy!

    Download source file (.fla)

    discuss this topic to forum

    relation tutorial

    No relevant information

    Category

      3D (20)
      Math Physics (14)
      3rd Party (5)
      Navigation (62)
      Actionscripting (158)
      Optimization (17)
      Animation (108)
      Projector (11)
      Audio (52)
      Special Effects (152)
      Backend (26)
      Text Effects (82)
      Drawing (32)
      Tips and Techniques (47)
      Dynamic Content (31)
      Tricks (8)
      Games (97)
      Utilities (21)
      Getting Started (91)
      Video (24)
      Interactivity (43)
      Web Design (29)

    New

    Hot