|
-
[RESOLVED] [CS3] Custom cursor disappearing
Hi. My custom cursor keeps disappearing behind other elements on the stage. I've tried bringing the mycursor_mc movie clip to the front with Arrange, and I've also tried moving the layer the cursor is on to the top and bottom of the stack in the fla file. Neither method has fixed the problem.
Thanks in advance for any help with the problem. Here's the AS3 code I've used in frame 1 of the timeline:
stop();
addChild(mycursor_mc);
Mouse.hide();
stage.addEventListener(MouseEvent.MOUSE_MOVE, moveCursor);
function moveCursor(myevent:MouseEvent):void{
mycursor_mc.x=mouseX;
mycursor_mc.y=mouseY;
myevent.updateAfterEvent();
}
Mosk
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|