使模态透明背景绝对透明. [英] Make the modal transparency background absolutely transparent.
问题描述
我正在使用下面给出的代码尝试使透明度为 0,但我仍然无法使背景变得绝对透明.
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.
问候泽
推荐答案
您是否尝试将 backgroundAlpha 设置为 0?
backgroundAlpha 是模态组件的属性,而不是 css 样式.有关一些 backgroundAlpha 示例,请参见此处:Flex 示例:backgroundAlpha
此外,FlexSpy 是一个用于处理样式和视觉属性的有用工具.它很像 Firebug,因为您可以在应用程序运行时实时修改样式和属性.在此处下载:FlexSpy
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
这篇关于使模态透明背景绝对透明.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!