Keeping the custom cursor over content
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.
cursor_mc.x = mouseX;
cursor_mc.y = mouseY;
cursor_mc.buttonMode = true;
How can I always keep it over content ?
You can use
if you are adding stuff to the stage throughout your movie, then you may need to put the code inside of your follow function.
setChildIndex(cursor_mc,numChildren - 1);
Otherwise it should be ok elsewhere.
Originally Posted by fruitbeard
Tags for this Thread
Click Here to Expand Forum to Full Width
Poll by Flashkit.com