开发者

Issue in chrome when using cursormanager(Its Displaying both custom cursor and normal mouse pointer)

I am using cursor manager to set the hand cursor for the overlay.

its works fine in mozilla firefox and IE8, but in chrome its shows the hand cursor and also the normal mouse pointer, here is my code

import mx.managers.CursorManager;
im开发者_Go百科port mx.managers.CursorManagerPriority;
[Embed(source="/assets/images/cursor_hand.gif")]
    public var handCursor:Class;

renderer.addEventListener(MouseEvent.MOUSE_OVER, function(event:MouseEvent):void{
                        CursorManager.setCursor(handCursor,CursorManagerPriority.HIGH, 3, 2);
                    });
                    renderer.addEventListener(MouseEvent.MOUSE_OUT, function(event:MouseEvent):void{
                        CursorManager.removeAllCursors();
                    });

Am I missed anything here? I am using flex builder 3 and Flash player 9.


Access this link in Chrome and check whether the you are seeing custom cursor alone. If no, try to update your Flash Player version.I have version I have version 10,0,45,2 and I am seeing only the custom cursor in chrome.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜