Menu
I believe that we have a unique flash navigation, but some of the flash effects can not be (I was one:), especially the complex as action script. However, through their own learning found that some difficult to understand the program can be a simple as action script to show the same effect, today I would like to say an example, can let some like me the same flash beginners (understand the basic as Action Script program flasher)! Hope you have some experience, some harvest (in the next shortcoming-_-! )
Preview:
First of all, the famous "Semitic Empire" navigation bar:
This effect of the navigation bar in the domestic and foreign examples of many, very practical! But they do not behave the same way, such as some of the submenu is a http://www.flashemprie.com, some are straight down http://www.designnet.co.kr/ ... Not a few examples.
1. Analyze the principle of his action
A. When the mouse clicks on one of the columns of the menu bar (such as the Information Center) (see figure I), the corresponding [Information Center column] submenu appearance effect, (to "Flash guest Empire", for example, is the Sub column (channel Home industry animation empire activity) downward movement, some can click into the corresponding column of the button.
B. When the mouse clicks on another column of the menu bar (such as the Semitic Empire) (see figure II), [Information Center column] of the sub-column disappears, the corresponding [Flash guest Empire Column] submenu appears effect. Know his principles can be a bold to try all kinds of methods.
2. Hands-on (I know sometimes it's hard to do:)
A. Do the menu bar you want, and the corresponding submenu (because the main thing is to simplify the program, the other details are not much to say!) )
B. Select one of the columns [e.g. company introduction], drag his corresponding submenu into the main scene, the instance name of the Definition submenu is B (see figure III); then select one of the columns [such as medicine], drag his corresponding submenu into the main scene, define the submenu instance name as C (see figure IV), the other columns the same way!
C. Click on a section [such as company introduction], open his action surface version of the following code (do not think of the code flash, adhere to see, the code is very simple:) (see Figure 5)