2 Replies Latest reply on May 2, 2006 7:36 AM by

    Cursor / Mouse Icon

      Hi. I want to change my mouse pointer to an open hand on rollOver and to a grasped hand on click of a button so that the button looks like its being grabbed. I presume you use the code:

      onClipEvent (load) {
      startDrag("", true);
      }

      Is this correct? My main question though is where do you get the little white and black pixel icons? I've seen the same open and grasped hand on a few sites so I presume they're generic default icons that come with flash? Or flash resource sites? Any suggestions?

      Thanks.
        • 1. Re: Cursor / Mouse Icon
          Level 7


          Peter_Peterson wrote:
          > I want to change my mouse pointer to an open hand on rollOver and to a grasped
          > hand on click of a button so that the button looks like its being grabbed. I
          > presume you use the code:
          >
          > onClipEvent (load) {
          > startDrag("", true);
          > }

          not really, onload is one time event, ONLOAD only.
          You need something in-a-loop like setInterval or EnterFrame.
          Secondly, no need for Drag, just xmouse and ymouse cords, provide
          much smoother drag than actual drag action

          make the icon a movie clip, give it some instance name, than on
          timeline frame :

          MCname.onMouseMove = function() {
          MCname._x = _root._xmouse;
          MCname._y = _root._ymouse;
          updateAfterEvent();
          };

          > Is this correct? My main question though is where do you get the little white
          > and black pixel icons? I've seen the same open and grasped hand on a few sites
          > so I presume they're generic default icons that come with flash? Or flash
          > resource sites? Any suggestions?


          draw it in Photoshop, export as GIF or PNG, ta Daa!!!


          --
          Regards

          Urami


          --



          Happy New Year guys - all the best there is in the 2006




          <urami>
          http://www.Flashfugitive.com
          </urami>

          <web junk free>
          http://www.firefox.com
          </web junk free>
          1 person found this helpful
          • 2. Re: Cursor / Mouse Icon
            Thanks. I need the mouse to be normal normally, onl;y on mouse over a button i want it to change, then on press to change again. How do I do this? Similar to this site:

            http://www.conceptm.nl/

            Incidentally, I also want to be able to drag the button in a nice smooth style like this, then skid a little on release. Any suggestions?