![]() |
|
You need to upgrade your flash player or to allow javascript to enable the menu. Get Flash Player |
Creating vertical Flash menuIntroductionIn this tutorial we will learn how to create and adjust a Flash menu with Flash Menu Labs (FML) Open Source Edition.
First thing we need to do is to download last version of the project at
Open Source Edition page.
Menu items appears and disappears smoothly, there is even some simple animation on mouseover (color transition from red to dark red). Setting our labels and URLsFor example, we want to set a very simple menu structure like:
To set it we open menu.xml file with notepad and go to the <menu_structure> tag ( press Ctrl+F and write "structure"). What we see there? Huge amount of lines. We need to remove all lines between <menu_structure> and </menu_structure> tags and write our code there. To create a Home menu item we write:
I think that text and url attributes need no comments. We set url_self =1 to open link in a self window, and url_self =0 to open in a new one. To create a sub items we write these lines:
Finally we have such a structure:
Save menu.xml and launch swf file.
Adjusting menu behaviorOk, let's play with behavior parameters. Save menu.xml and launch swf-file. It works :) Now we want to disable smooth moving. In menu.xml we just set Save menu.xml and launch swf file. It works again :) Setting our graphics and animation in fla-fileTo customize graphics we need to open fla-file in Flash editor. We see no
clips at the main scene. This is because this menu is totally controlled
by ActionScript and all graphics is in the library.
We replace this graphics with our animation. As normal state starts after mouseover state is over then this animation will play when mouse will leave this menu item.
Then we replace content of templ_lev0_mouseover and templ_lev0_selected templates. |
|||
|
Home |
Download |
Purchase |
Open Source |
FAQ |
Contact Us |
Links |
Sitemap
© 2006-2010Quadroland All Rights Reserved. Quadroland.com.au |