PDA

View Full Version : Accordion Styling - textSelectedColor question


ferrisb
11-29-2007, 09:13 PM
I'm trying to style an Accordion so that the label of the selected pane changes color when it's currently selected.

Is it possible to do this easily?

I thought that textSelectedColor might do it, but apparently that only changes the color of the text when it's actually being pressed, which seems kinda useless.

sugo
11-30-2007, 11:03 AM
Hey

From Adobe documentation on Accordion I can see that there is a style called textSelectedColor (for example textSelectedColor="0xB333C")...I think that is the property that you are looking for...

You can allso change the background gradient colors...you can input this in your flex app css file
Accordion {
selectedFillColors: #003399, #ff0000;
}

Hope this helps