Hey guys,
I tried to create a custom cursor using the following code:
Mouse.hide();
stage.addEventListener(MouseEvent.MOUSE_MOVE,followCursor);
function followCursor(e:MouseEvent):void {
mouseCursor.x = stage.mouseX;
mouseCursor.y = stage.mouseY;
e.updateAfterEvent();
}
This works just fine. However, Flash is treating the entire symbol as the mouse pointer. For example, when I place a button on the stage and put the new cursor over it, if just a part of the cursor is not within the button’s boundaries, then Flash treats it as a MOUSE_OUT event.
Any ideas how to solve this?