flex 各组件对应的样式属性
Application组件样式属性
backgroundImage 背景图 使用Embed(source=" ");来应用
backgroundColor 背景色
backgroundGradientColors 背景渐进色 这个属性要设置2个色彩,渐进起始色和渐进结束色,中间以逗号分隔
backgroundGradientAlphas 背景渐进色透明度 这个属性要设置2个透明度,对应渐进色中的2种颜色 值的范围是0.00~1.00,中间以逗号分隔
panel组件样式属性
cornerRadius 边角度数 panel外框边角度数 数值从0~28 0时为直角,数值越大,圆角弧度越大
headerHeight 标题头高度 panel标题头的高度 数值从0~50
dropShadowEnabled 是否显示投影 true和false 2个属性
shadowDistance 投影大小 dropShadowEnabled为true时有效 数值从0~20
shadowDirect
相关文档:
准备工作
eclipse 软件包 eclipse-jee-galileo-SR2-win32.zip(免安装的)
flex 插件 FB3_WWEJ_Plugin.exe
软件下载就不说了啊 从官网上都可以找到的。
插件安装步骤: 1.把eclipse 软件包 解压到C盘下(具体根据自己需要这不是关键)
&nbs ......
很简单的小例子,适合初学者理解
1,JavaFlex.java
package flex;
public class JavaFlex {
public String helloJavaFlex(String name) {
return name;
}
}
2,remoting-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<service id="remoting-service" class="flex.messaging.services.Remo ......
A client asked me to do something seemingly simple.
"I want the Alert to have just this one sentence bolded."
Well, it's not exactly simple, so here's how you do it:
there are two solutions as below :
import mx.core.IUITextField;
use namespace mx.core.mx_internal;
message +="Press ......
转载自http://blog.csdn.net/friendyi/archive/2008/07/07/2621034.aspx
Application组件样式属性
backgroundImage 背景图 &nb ......