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

加粗用<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(); 


你可能感兴趣的:(flex htmlText属性和Label设置鼠标手形状)