您的位置:首页 > Web前端 > HTML

flex htmlText属性和Label设置鼠标手形状

2012-12-24 13:44 260 查看
加粗用<b></b>下划线<u></u>样式用<font>等等

<font color='#E7450D' size='12'></font>

txt.htmlText= "<a href='http://www.asarea.cn' target='_blank'><u><font color='#2969c0' size='13'>请点击</font></u</a>";

设置鼠标手形状

一般设置

buttonMode="true"

useHandCursor="true"

Label需要这样设置:

buttonMode="true"

useHandCursor="true"

mouseChildren="false"

var desireCollection:ArrayCollection = new ArrayCollection();

var dataSortField:SortField = new SortField();

dataSortField.name = "No";

dataSortField.numeric = true;

dataSortField.descending = true;

var dataSort:Sort = new Sort();

dataSort.fields = [dataSortField];

desireCollection.sort = dataSort;

desireCollection.refresh();
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐