I creat a custom cursor in Flash.
function inicialGames():void {
cursor = new Cursor;
addChild(cursor);
Mouse.hide();
stage.addEventListener(MouseEvent.MOUSE_MOVE, dragcursor);
}
function dragcursor (e:MouseEvent) {
cursor.x=mouseX;
cursor.y=mouseY;
cursor.mouseEnabled=false;
cursor.updateAfterEvent;
}
This work corectly.
But when add other object whit addchild();
mouse cursor stay under the other object and is not visible, but when I click is work;
How i make a mouse cursor visible over the other object;