PDA

View Full Version : skinning a comboBox


chrishosch
04-08-2004, 03:47 PM
I'm attempting to skin the components in my movie. I've almost got it, except for my comboBox. I cannot change the highlight color in the comboBox pulldown. It seems to be using the default halo color scheme just for the highlighting.

Here's a link so you can see what I mean:
www.westerbergdesign.com/shockdoc/test/store.html

And here's the code:


_global.styles.ComboBox = new mx.styles.CSSStyleDeclaration();
_global.styles.ComboBox.setStyle("backgroundColor", 0x2A2A21);
_global.styles.ComboBox.setStyle("color", 0xFFFFFF);
_global.styles.ComboBox.setStyle("borderColor", 0x000000);
_global.styles.ComboBox.setStyle("highlightColor", 0x999965);
_global.styles.ComboBox.setStyle("shadowColor", 0x2A2A21);

Any help is much appreciated.

Chris

annexion
04-08-2004, 05:16 PM
_global.styles.ComboBox.setStyle("themeColor", 0xff00ff);

chrishosch
04-09-2004, 02:00 PM
Oh yeah. I coulda done that. thanks!