Skip navigation
Currently Being Moderated

Custom cursor using startDrag

May 24, 2012 2:32 PM

Hello everyone,


I have a movieclip following my mouse to act as a custom cursor.


I am using startDrag on the movie clip and mouse.hide()



What I am trying to resolve is the following:


I have several hidden simple button objects in the background of my flash movie. ( I am using these to detect when the user has the mouse in certain areas of the flash movie)


When i go to move over these simple buttons, my custom cursor movieclip stops following the mouse cursor.  Normally my cursor would also then change to the Hand cursor, but i disabled that.


Can anyone think of any method or hack that would make this work for me?  I would like my custom cursor following the mouse pointer at all times even when hovering over a simple button.


thanks in advance.

  • Currently Being Moderated
    May 24, 2012 2:54 PM   in reply to RxMadjack

    Change the simple button objects to movieClips

    Mark as:
  • Currently Being Moderated
    May 24, 2012 3:09 PM   in reply to RxMadjack

    The addEventListener works fine with MovieClips 

    Mark as:
  • Currently Being Moderated
    May 24, 2012 3:32 PM   in reply to RxMadjack
    The cursor changes to hand cursor yet?

    When you say "single button Several hidden objects", the number is?
    Mark as:
  • Currently Being Moderated
    May 25, 2012 8:03 AM   in reply to RxMadjack

    ID2335HoverBlock1.addEventListener(MouseEvent.MOUSE_OVER, ID2335HOVER);


    function ID2335HOVER(event:MouseEvent):void



         //more code here


        // recall the startDrag



    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points