Flash components Flash files Menus & Buttons

Effect Menu 04-xml_driven

$4.00
By purchasing and downloading this license, you are entitled, as buyer, to use the product in ONE SINGLE NON- COMMERCIAL PROJECT - details
ID: 9627 | Views: 365 | Downloads: 0
Or

morephilipshuangfei
Uploaded By: philipshuangfei Author
* 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);
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]: maxwidth of the entire menu;
// arr_params[1]: maxheight of the entire menu;
// arr_params[2]: width of each menu;
// arr_params[3]: height of each menu;
// arr_params[4]: the name of the mc in the parent of this stage from which you can import swf file;
mm:menuLoader (the class from script file "menuLoader")
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: after variable "arr_params[0]" is set, the function will automatically delete some menu which'position exceed the all length

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 .

* XML FILE SETTINGS
.
.

HOME ( the caption of the menu )
http://www.google.com ( the url of the menu )
_blank ( the window of the menu )
3.swf ( the name of the other swf file to load when click the menu )
5 (the frame number of the other swf file to load )
mc_swf (the name of the movieclip in the parent swf file of this stage from which you can import swf file)

.


* 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

ASK Ask a question & Live a coment (Public)

more

Do you have any comment or questions about philipshuangfei file?


Please register & login before you post!