1

I am using the below given code to try to make the transparency 0, but I still am unable to make the background become absolutely transparent.

<mx:Style>
        global {
            modalTransparencyBlur: 0;
            modalTransparency: 0.0;
            modalTransparencyColor: black;
            modalTransparencyDuration: 0;
        }
    </mx:Style>

How can I fix this.

Regards Zee

Pieniadz
  • 653
  • 3
  • 9
  • 22
Zeeshan Rang
  • 19,375
  • 28
  • 72
  • 100
  • 2
    You want to make the transparency of "what" to 0? Show more of your code. I would suspect that local styles override any global settings. – JeffryHouser Aug 22 '11 at 21:24
  • 2
    +1 copy/pasted your code and it's perfectly transparent, so the style must be overridden somewhere. – RIAstar Aug 22 '11 at 21:39

1 Answers1

0

Have you tried setting the backgroundAlpha to 0?
backgroundAlpha is a property of your modal component, rather than a css style. See here for some backgroundAlpha examples: Flex Examples: backgroundAlpha

Also, a useful tool for playing around with styles and visual properties is FlexSpy. It's a lot like Firebug, in that you can modify styles and properties in real time while your app is running. Download here: FlexSpy

eterps
  • 14,198
  • 4
  • 35
  • 46