A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Custom cursor problem

  1. #1
    Junior Member
    Join Date
    Jan 2012
    Posts
    2

    Custom cursor problem

    I made a custom cursor and it works perfectly, but whenever i hover over some link the old arrow comes back and it stays over the custom cursor. can you help me pleas?
    //////////////////////
    stage.addChild(Muva);
    Muva.mouseEnabled = false;
    Muva.addEventListener(Event.ENTER_FRAME, fl_CustomMouseCursor);

    function fl_CustomMouseCursor(event:Event)
    {
    Muva.x = stage.mouseX;
    Muva.y = stage.mouseY;

    }
    Mouse.hide();
    ////////////////////////
    what should i add here to solve the problem?

  2. #2
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    simply include Mouse.hide(); in the function :P
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  3. #3
    Junior Member
    Join Date
    Jan 2012
    Posts
    2
    Thank you bro!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center