To use a custom cursor, simply used the following piece of code;
However, when I move the cursor over a content, say, a movie-clip, it stays under the movie-clip.Code:Mouse.hide();
stage.addEventListener(MouseEvent.MOUSE_MOVE,follow);
function follow(E:MouseEvent)
{
cursor_mc.x = mouseX;
cursor_mc.y = mouseY;
}
cursor_mc.buttonMode = true;
How can I always keep it over content ?
Thank you.