Flex中如何通过backgroundAlpha, backgroundColor, borderAlpha和borderColor样式给Alert对话框设置背景颜色的例子

接下来的例子演示了Flex中如何通过backgroundAlpha, backgroundColor, borderAlpha和borderColor样式,给Alert对话框设置背景颜色。

让我们先来看一下Demo可以右键View Source或点击这里察看源代码):

下面是完整代码(或点击这里察看):




Alert {
backgroundAlpha: 0.3;
backgroundColor: red;
borderAlpha: 0.3;
borderColor: red;
dropShadowEnabled: false;
}




代码:Peter deHaan 翻译/整理/编译:中文Flex例子

Leave a Reply

Your email address will not be published. Required fields are marked *