flex 各组件对应的样式属性(转)
转载自http://blog.csdn.net/friendyi/archive/2008/07/07/2621034.aspx
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为
相关文档:
之前发过一片关于Flex Builder 4注册码的文章,但是由于里头的序列号好像都过期了,所以就又找了下看如何激活。
首先把自己的hosts文件里加上一行:
127.0.0.1 activate.adobe.com
然后在打开Flex Builder 4
输入如下注册码:
1424-4118-1138-0912-4001-7222
注册,OK
以后千万记住不要让QQ医生或者360把你的Hosts文 ......
’shift’ + ‘tab’:左移代码; [方便]
”tab’:右移代码; [方便]
‘alt’ + ‘/’:代码提示,导入类; 或者自己在key里找到 content assist自己设置
‘ctrl’ + ‘空格’:同上; 如果与输入法切换快捷键相同需要将输入法的快捷键更改成其他组合[方 ......
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 ......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
<mx:Style source="skin/yflexskin.css" />
<mx:Script>
<! ......