Tôi đang cố gắng đặt con trỏ tay trên HBox. Tôi đã thử buttonMode và useHandCursor nhưng không có may mắn. Ví dụ này hiển thị con trỏ bận. Bất cứ ai có thể cho tôi biết làm thế nào để làm cho nó hiển thị con trỏ tay của FlashPlayer?Flex: Cách đặt con trỏ tay?
<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>
^Không làm việc cho tôi. Tôi nhận được con trỏ mũi tên - Squiff – Squiff
Phiên bản Flex SDK, phiên bản Flash Player, hệ điều hành và trình duyệt nào bạn sử dụng? – Constantiner
Trình tạo Flash 4, MAC 10,3,181,14, OSX 10.6.7, Firefox 5.0.1 – Squiff