Hello,
I've searched everywhere and no matter what I do, CSS or setStyle, I
cannot change the color of the text on the top level of the menu bar
when rolled over (the text that actually appears on the menu bar).
Everything else works fine except for the textRollOverColor on the
menu bar. If anybody has any ideas on this, or if you need more
information, please let me know.
Also note, I can change the rollover text on the sub menus by calling
the setMenuColors() function below, however it only applies to the sub
menus.
Thanks.
MenuBar CSS:
.myMenuBar {
color: white;
font-weight: bold;
text-decoration: underline;
background-color: #ECECD4;
selectionColor: #ECECD4;
rollOverColor: #ECECD4;
textRollOverColor: black;
textSelectedColor: black;
separatorColor: #FFFFFF;
separatorWidth: 1;
themeColor: #ECECD4;
}
Sub Menu Function:
private function setMenuColors(mb:MenuBar):void {
for (var i:int = 0; i < dp1.length; i++) {
mb.getMenuAt(i).setStyle('color', 'black');
mb.getMenuAt(i).setStyle('rollOverColor', '#2433AA');
mb.getMenuAt(i).setStyle('selectionColor', '#2433AA');
mb.getMenuAt(i).setStyle
('textRollOverColor', '#FFFFFF');
}
}
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/