Flex 鼠标移入组件/TextField变手型
如下代码所示 click="vid_clickHandler(event)" useHandCursor="true" buttonMode="true" mouseChildren="false"/>在组件中添加如下属性即可:useHandCursor="true" buttonMode="true" mouseChildren="false" 让鼠标移动于TextField
·
如下代码所示
<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)
更多推荐
所有评论(0)