我試圖在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