Home / Components / Menus & Navigation / Two Levels Menu 08-XML Driven /
Two Levels Menu 08-XML Driven
7 purchases
License:
By purchasing and downloading this license, you are entitled, as buyer, to use the product in ONE SINGLE NON-COMMERCIAL PROJECT ( website or other ... [+]
> View graphic table with full license features
$6.00
Package includes: FLA
Flash Version: Flash CS3
Viewable with: Flash Player 9
Documentation level: Well documented
Flash knowledge level: Basic
Action Script: ActionScript 3.0
Product ID:F1004046
- two levels menu
- horizontal & vertical menu
- XML driven make it easy to control
- with sound effect
Customize
- Span size between menus in xml item
- Round corner size of each menu in xml item
- Turn on the sound effect or turn off in xml item
- Load url page or frame of Movieclip in xml item
- Amount of Gradient color size in xml item
- Vertical or horizontal menu style in xml item
- The text color of main menu in xml item
- Rolling over text color of sub menu in xml item
- Rolling out text color of sub menu in xml item
- MaxWidth and Maxheight can be set in action script
- Margin size of menus in action script
- The alignment of mainmenu or submenu in action script
- A movie clip can be loaded into a variable in action script
In addition, it provides the many settins of each menu in xml file which make it more convient to control.
Installation
1:Unzip and copy the font to the system font directory
2:Unzip and Copy the "com" directory to the path(mentioned in readme file)
3:Open the Adobe Flash CS3 Professional system and adjust the ActionScript 3.0 settings and add the path above.
Script
arrStyle:Array (the menu styles coming from xml file);
arrMenus:Array (the menu data coming from xml file);
arr_params:Array (the other parameters for the menu);
// you can adjust any one params in array variable arr_param,and details below
// arr_params[0]: the max width of the menu;
// arr_params[1]: the max height of the menu;
// arr_params[2]: the width of mainmenu;
// arr_params[3]: the height of mainmenu;
// arr_params[4]: the margin size ;
// arr_params[5]: the alignment of mainmenu (0-center;1-left;2-right)
// arr_params[6]: the alignment of submenu (0-center;1-left;2-right)
// arr_params[7]: the parent window of the swf file
mm:menuLoader (the class from script file "menuLoader")
xmlManager:xmlManger (the class from script file "xmlManager")
xmlManager.LoadXML (set the xml file name )
Notice
- After variable "arr_params[0]" is set, the function will automatically delete some menu which position exceed the all length and so do the variable "arr_params[1]" ,but differently some sub menu will be deleted
- To change the width of the menu bar, you have to adjust both the array variable named "arr_params[0]" and the attribute width of the stage .
[list][/list]
$6.00
License:
Personal License By purchasing and downloading this license, you are entitled, as buyer, to use the product in ONE SINGLE NON-COMMERCIAL PROJECT ( website or other multimedia project not generating income ), your personal work or work for a client. You may not redistribute / resell the functionality provided with the purchased product without the author's and / or FlashComponents.net written permission, but you may modify its content. In case you want to use the product for a commercial project then you will have to buy the 'Commercial License'.
| Usage Terms: | Personal | Commercial | Multiple |
|---|---|---|---|
| Use in ONE SINGLE NON-COMMERCIAL project | |||
| Unlimited use in the same project | |||
| Use in ONE SINGLE COMMERCIAL project | |||
| For your client's ONE SINGLE COMMERCIAL project | |||
| MULTIPLE COMMERCIAL projects | |||
| For your client's MULTIPLE COMMERCIAL projects |
Other by philipshuangfei:
Related components:
Featured components:
HTML / XML Video List AS3 - v2 version includin...[+]











2 comments
Add comment
lugorama
Hello looks very nice Is this AS3? Is it possible to go to Frame by either pressing the item and scrolling over (I need both function in one item), if not, do you have anything with a similar function, I need it as soon as possible. Thanks
#  /  PM  /  posted on Sep 03, 2010
philipshuangfei
Thank you for your good suggestion! In fact ,the function you wanted indeed should be extended and It's very simple to realize . I make some improvement at three points below and I send you a new package in your email
1.add a new style item in xml file
0
in "submenu.as" file, the attribute to load the item above public function getframeLoadby_submenuRollover():Boolean
add the same logic with event "submenu_onDown(event:MouseEvent)"
when the mouse rolling over the item , the frame will be loaded. The function is simple .
what effect displaying when the frame loaded by using the tween utility. The function is not simple.
#  /  PM  /  posted on Sep 03, 2010