Flex Lable鼠标碰上变手形

Actionscript代码
  1. <mx:Label width= "100"  htmlText= "姓名"  buttonMode= "true"  useHandCursor= "true"  mouseChildren= "false"  click= "open()" />  
<mx:Label width="100" htmlText="姓名" buttonMode="true" useHandCursor="true" mouseChildren="false" click="open()"/>

只设置 buttonMode="true" useHandCursor="true" 这两个属性是不行的,

还需要加上 mouseChildren="false"

你可能感兴趣的:(Flex,actionscript)