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
0x000000 (this item is to set the background color of the stage) 0xff0000 (this item is to set the background color of the submenu) 0 (this item is to set the submenu's position and determine the submenu is upside or downside of the main menu) 0xff0000 (this item is to set the color of mouse rollout the main menu) 0xff00ff (this item is to set the color of mouse rollover the main menu) _blank (set the open window string of the main menu) 0xffffff (this item is to set the color of mouse rollout the submenu) 0x000000 (this item is to set the color of mouse rollover the submenu)
* 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
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
0x000000 (this item is to set the background color of the stage)
0xff0000 (this item is to set the background color of the submenu)
0 (this item is to set the submenu's position and determine the submenu is upside or downside of the main menu)
0xff0000 (this item is to set the color of mouse rollout the main menu)
0xff00ff (this item is to set the color of mouse rollover the main menu)
_blank (set the open window string of the main menu)
0xffffff (this item is to set the color of mouse rollout the submenu)
0x000000 (this item is to set the color of mouse rollover the submenu)
* 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