Home ›
Flash
›
Horizontal Menus
Black & White XML Menu
Would you like to comment or ask questions from opinion?
Home ›
Flash
›
Horizontal Menus
Would you like to comment or ask questions from opinion?
Details
Uploaded: 12 August 2008
Opens With: Flash CS3 (9+)
Files Included: FLA, AS files, XML
Keywords: menu, horizontal, xml, as3,
Related Files
Uploaded By: opinion
This is XML horizontal menu. Using AS3.
You can change "up_txt" object in library to set font of normal text menu item and "down_txt" to set font of over text menu item.
Main setting:
settings.xml:
<sets>
<count>5</count> //Menu items amount
<item0>HOME</item0> //Menu item label
...
<url0>http://www.bigstockflash.com</url0> //Menu item link
...
</sets>
MItem.as:
private var speed:Number = 5;//speed of text moving
private var paddingLeft:Number = 11;//horizontal text padding
private var overcolor = 0x666666;//menu mouse over color (only b/w tones)
private var paddingTop:Number = 80;//menu position from top
MenuController.as:
private var itemsPadding:Number = 2;//distance between menu items
private var paddingLeft:Number = 12;//menu position from left
In current version normal color of menu item can be only white as now, but text can have any color.
Mouseover color of menu item can be any of bw tones between 0x000000 and 0xCCCCCC.