.
component categoriescomponent categories
overview
features
help & support
downloads
buy now

Awaiting 3 votes.
Report this file Ask author
Posted by : philipshuangfei
Package includes: FLA
Opens with: Flash CS3
AS Version: ActionScript 3.0
Viewable with: Flash Player 9 and above
Flash knowledge required: Basic
Documentation: Basic documentated


ADVANCEDMENU03a_TWOLEVEL_XMLDriven



* INSTALATION

1:Unzip and copy the font to the system font directory
2:Unzip and Copy the "com" directory to the path("C:Documents and SettingsAdministratorLocal SettingsApplication DataAdobeFlash CS3zh_cnConfigurationClasses")
3:Open the Adobe Flash CS3 Professtional system and adjust the "ActionScript 3.0" settings and add the path above.

* CODE OF THE FLA FILE

arrStyle:Array (the array variable is consist of three array variables which loading from xml file and seperate the xml data into three data type:color array is first variable,int array is the second one and string type is the last one);
arrMenus:Array (the menu data coming from xml file);
menunumber:Number (the count of all menus but you can set the value to limit the count you like);
mm:mainmenu ( the class from script file "mainmenu" )
numWidth:Number (get or set the width of all menu length, ordinary you should set the width of the stage's width first)
numHeight:Number (get or set the height of all menu height, ordinary you should set the height of the stage's height first)
xmlManager:xmlManger (the class from script file "xmlManager" which's main function is to load the xml file )
xmlManager.LoadXML (set the xml file name )

* XML FILE SETTINGS
.<Style>
<color_background>0x126776</color_background> (this item is to set the background color of the stage)
<color_menu>0xffffff</color_menu> (this item is to set the color of mouse rollout the main menu)
<int_position>0</int_position> (this item is to set the submenu's position and determine the submenu is upside or downside of the main menu)
<menu_url_window>_blank</menu_url_window> (set the open window string of the main menu)
<color_submenu_rollover>0xffff00</color_submenu_rollover> (this item is to set the color of mouse rollover the submenu)
.</Style>
.<menus>
<item>
<name>CompanyInstruction</name> (the name of the main menu)
<url>http://www.baidu.com</url> (the url of the main menu)
<color>0xED1B23</color> (the color of the background to transform,when mouse rollover the main menu)
<sitem></sitem> (the submenu items of the main menu)
</item>
.</menus>

* CONTACT TO ME
EMail:hx7777@gmail.com
MSN :philipshuangfei@hotmail.com (on the line all the time)
if you are in trouble please contact to me



Tagstags
Please « login » to add tags.

No comments found ! Click here to be the first adding comments for this component!

 
featured componentsfeatured components