Groups | Blog | Home
all groups > flash (macromedia) > july 2005 >

flash (macromedia) : adding icons to xml menu


raj144
7/15/2005 7:54:08 PM
i have the the documentation under using componenets->menu componenet -> using
the menu component.
i have the menu working fine but i cannot add icon to the items.
this is what i am doing.
myMDP.addMenuItem({label:"Lowerhand", instanceName:"miLowerhand",icon:
"tag"});
tag is a graphic in the library.
i don t know what to do nor have a clue to what are the requirements for the
icon.

please help
raj144
7/15/2005 8:43:50 PM
ok figured it out

you have to use the linkage properties
so select an item u want to use for the icon right click -> go to linkage
property and give it a name. then use the folllowing syntax

myMenu.addMenuItem({label:"Lowerhand", instanceName:"miLowerhand",name:
"blah",icon:"boot_1"});
kundan kumar
2/15/2008 3:03:32 AM
i also face same king of problem someone help me

From http://www.developmentnow.com/g/68_2005_7_0_0_561716/adding-icons-to-xml-menu.htm

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button