Hi, You know what, I eat my words. I quickly looked at that class but missed the fact in the over skin they do use 2 and 3 index.
if (fillColors.length > 2) overFillColors = [ fillColors[2], fillColors[3] ]; else overFillColors = [ fillColors[0], fillColors[1] ]; What does this mean? based on that code I would expect what you are doing to work correctly. Although I am looking at Flex 3 sdk code. I'm sure it is the same for Flex 2.0.1 Can you post the code you are using. Mike On Mon, Sep 22, 2008 at 1:22 PM, jwc_wensan <[EMAIL PROTECTED]> wrote: > Michael: > > I guess I expected the second set to work like the second set does > for a ComboBox. > > May I ask then why is there a second set of colors if you have to go > in and create your own skin/component? > > Seems a little confusing. > > I don't really understand all the AS code for these components, but > I'll check it out. > > Thanks for the info. > > Jack > > --- In [email protected] <flexcoders%40yahoogroups.com>, "Michael > Schmalle" > <[EMAIL PROTECTED]> wrote: > > > > Hi Jack, > > Take a look at mx.skins.halo.TabSkin > > > > This class is not like the ButtonSkin, you can see in this line > exactly what > > the skin is doing. > > > > case "upSkin": > > { > > var upFillColors:Array = > > [ falseFillColors[0], falseFillColors[1] ]; > > > > You will need to implement your own skin for that functionality. > > > > Mike > > > > > > On Mon, Sep 22, 2008 at 12:26 PM, jwc_wensan <[EMAIL PROTECTED]> > wrote: > > > > > Good morning: > > > > > > I have set the the 3rd and 4th colors for my TabBar as such in > the > > > CSS file. Example: fillColors: #DDE7F4, #DDE7F4, #FA075D, > #FA075D; > > > > > > However, it does not use the second set of values. I set the > second > > > set to red in the example just to get a contrast. > > > > > > The Language Reference indicates you can use either one set or > both > > > sets for fillColors in a TabBar. > > > > > > The second set is for mouseover. > > > > > > Does this not work in Flex 2.01? > > > > > > I looked at the Flex 2.01 Explorer application and it only has 1 > set > > > of colors to select from. > > > > > > I even tried using a TabNavigator but it does not use the second > set > > > of colors either. > > > > > > In both cases, on mouse over, it displays a lighter color > > > combination of the first set of colors. > > > > > > Does it work in Flex 3? > > > > > > Thanks, > > > > > > Jack > > > > > > > > > > > > > > > > > -- > > Teoti Graphix, LLC > > http://www.teotigraphix.com > > > > Teoti Graphix Blog > > http://www.blog.teotigraphix.com > > > > You can find more by solving the problem then by 'asking the > question'. > > > > > -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'.

