[flexcoders] PopupButton Background Color

2008-09-23 Thread itdanny2002
I can't change the background color of 
popupbutton even I set

fillAlphas: 1.0, 1.0, 1.0, 1.0;
fillColors: #00, #00;

I want totally black background with a white text  
rather than gradient background. 

Any helps from you ? Many Thanks !






Re: [flexcoders] PopupButton Background Color

2008-09-23 Thread Jon Bradley


On Sep 23, 2008, at 10:02 AM, itdanny2002 wrote:


I want totally black background with a white text
rather than gradient background.


I believe the PopUpButton control uses the highlightAlphas properties  
to draw a highlight on the button (so it's not the background that  
you are seeing get the gradient, it's the highlight).


Add the following to your PopUpButton CSS definition ( i think ):

highlightAlphas:0.0,0.0;

good luck,

jon