如下代码所示

<mx:VideoDisplay id="vid" autoPlay="false" source="{_vidData}" width="280" height="250" 
  click="vid_clickHandler(event)" useHandCursor="true"  buttonMode="true"  mouseChildren="false"/>

在组件中添加如下属性即可:

useHandCursor="true"  buttonMode="true"  mouseChildren="false"


让鼠标移动于TextField上方时显示为手型  

var txt:TextField = new TextField();
txt.x = 10;
txt.y = 10;
txt.autoSize = "left";
txt.selectable = false;
txt.htmlText = "<a href='event:#'>显示手形的TextField</a>";
addChild(txt)
Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐