all groups > flash actionscript > january 2005 >
You're in the

flash actionscript

group:

MenuBar



MenuBar xcoldnet
1/13/2005 10:38:50 PM
flash actionscript: How do you change the color of the menubar component? I have the standard grey on my slide... Thank you,

Re: MenuBar derobinson
1/14/2005 2:56:48 AM
You can change the highlight colors easily enough by using the setStyle method.
You can either use one of the Halo color schemes (green is the default) or use
a color of your own. The code below sets it to brick red:

myMeuBar.setStyle("themeColor", 0xCC0000);

None of this changes the grey background though. For that, you've got to skin
the component. Check this out for help on that:


http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/
wwhelp.htm?context=Flash_MX_2004&file=00002656.html

Good luck!

AddThis Social Bookmark Button