FLEX: popupManager: TitleWindow: how to make background transparent

I am using PopupManager to display (non modal) popups in Flex.

How can I make the background of my TitleWindow popup fully transparent? It is now translucent. See the picture with a semi-transparent background (i.e. I want the label inside to be visible):

http://dl.dropbox.com/u/72686/semiTransparent.png

Maybe instead of making it transparent, I could try to reduce the padding so that only children are visible?

thanks

+2


a source to share


2 answers


If you want to make it transparent add

borderAlpha="0.0"

      

If you also want to completely remove the side and bottom borders, add



borderThicknessLeft="0" borderThicknessRight="0"

      

You cannot remove the header even if the borderThicknessTop option is present.
Also, the borderThickness = "0" parameter doesn't work as far as I know.

+3


a source


Set the backgroundAlpha style of the TitleWindow to 0.



Edit oops, my mistake, since it's a Panel subclass, you also need to set the borderAlpha style to 0. If you're using the default Flex skins, the white arrow is the "background" and the blue area is the "border".

0


a source







All Articles