我试图在HBox上设置手形光标。我试过buttonMode和useHandCursor,但没有运气。此示例显示忙碌光标。任何人都可以告诉我如何让它显示flashPlayer的手形光标吗?Flex:如何设置手形光标?
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:components="com.dn2k.components.*" >
<fx:Script>
<![CDATA[
private var cursorID:int;
//cursorManager
protected function box_mouseOverHandler(event:MouseEvent):void
{
cursorManager.setBusyCursor()
}
]]>
</fx:Script>
<mx:HBox id="box" useHandCursor="true" buttonMode="true" mouseChildren="false" backgroundColor="0xcc0000" mouseOver="box_mouseOverHandler(event)">
<s:Label text="Hiya sexy..."/>
</mx:HBox>
^不为我工作。我得到箭头指针 - Squiff – Squiff
您使用什么Flex SDK版本,Flash Player版本,操作系统和浏览器? – Constantiner
Flash builder 4,MAC 10,3,181,14,OSX 10.6.7,Firefox 5.0.1 – Squiff