Clean flash menu

Date: 4.11.2007, 22:9    Total views: 168440
Page:  1  2

In this lesson, I will explain to you how to create clean and advanced website menu using the action script code and some special flash tips and tricks. Using this lesson, you will also learn how to design menu, how to animate it, apply action script code on it and much much more! You can use this menu for any web site.




Example:




Step 1

Open a new flash document. Select Modify > Document (shortcut key: Ctrl+J ). Set the width of your document to 425 pixels and the height to 115 pixels. Select black as background color and set your Flash movie's frame rate to 28 fps. Then, click ok.





Step 2


Take the 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 #3A3A3A and draw a “rectangle” about 425x25px. See the picture below.

 

Step 3

After that, take the Free Transform Tool (Q) and duplicate this rectangle three times. See the picture below.



Step 4

Then, take the Selection Tool, select the all rectangles and go to the Align Panel (Ctrl+K) and set the following options:

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



Step 5

While the rectangles is still selected, press Ctrl+G key (Group) to group it.See the picture below.



Then, go again to the Align Panel (Ctrl+K) and set the following options:

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



Now, you have aligned the rectangles with the background.

Step 6

Press now, Ctrl+B key (Break Apart) to break apart this rectangles. Now, you have this:



Step 7

It's time for text, so take the Text Tool (A) and go to the Properties Panel (Ctrl+F3) below the stage. Then, choose the following options:

1. Select a Static Text field,
2. Select a Tahoma as font.
3. Choose 12 as font size.
4. Select white as color,
5. As the rendering option, select Use Anti-alias for readability.



Then,type the text like it is shown on the picture below.



Step 8

After that, take the Selection Tool (V) and select the all text. Then, go again to the Align Panel (Ctrl+K) and set the following options:

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



Now. we have aligned the text verticaly.

Step 9

Take the Selection Tool (V) and select only the first text and rectangle. See the picture below.



Then, press F8 key (Convert to Symbol) to convert this rectangle and text into a Movie Clip Symbol.



Step 10

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 HomePage_mc. See the picture below.



Step 11

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



It's time for animation.

Step 12

Take the Selection Tool (V), select only a text (in my example "Home Page ") and press Ctrl+X key (Cut). After that, create a new layer above the layer 1 and name it text.Then, select the text layer and press Ctrl+Shift+V key (Paste in place).

Step 13

Go back on layer 1, double click on it with Selection Tool (V) and change its name in rectangle.

Step 14

While you're still on layer recatngle, press F8 key (Convert to Symbol) to convert this rectangle into a Movie Clip Symbol.



Step 15

Click on frame 15 of layer rectangle and press F6 key.

Step 16

While you're still on frame 15, take the Selection Tool (V) and click once on the rectangle to select it. After that, 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 #171717 and put it down to 100%. See the picture below.

Next:  Part 2
  Digg it! Add this tutorial to del.icio.us! Furl it! Add this tutorial to reddit! Spurl it! Add this tutorial to technorati!
Share
ShareSidebar