Flash components › Flash files › Menus & Buttons
Details
Uploaded: 22 August 2011
Opens With: Flash CS3 (9+)
Files Included: FLA,HTML,AS,XML
Size: 5197kb
Action Script: AS3
Resolution: Resizable
Documentation: good
Keywords: flash, menu, horizonetal, vertical, flashigot,
Do you like this 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);
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 all menus;
// arr_params[1]: the max height of all menus;
// arr_params[2]: the width of each menu;
// arr_params[3]: the height of each menu;
// arr_params[4]: the radius of the round conner of the first and last menu;
// arr_params[5]: the gradient of the menu[1.is gradient;0.not gradient];
// arr_params[6]: the border width of each menu;
// arr_params[7]: you don't have to set the value,cause the function inside is using it;
// arr_params[8]: the space width between menus;
mm:menuLoader (the class from script file "menuLoader")
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 )
Note: when the stage is resized, you also have to set two variable("numWidth","numHeight")
After variable "numWidth" is set, the function will automatically delete some menu which'position exceed the all length.
so do the variable "numHeight" ,but differently some sub menu will be deleted
* XML FILE SETTINGS
.
.
.
* 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