1 Reply Latest reply on Feb 9, 2011 9:44 AM by kglad

    AS2 Help, moving object towards mouse click.


      Here is the code that I have, I know that these are the basic elements wihc I need to use, individually they work but together they don't


      on (press) {

      on (release) {

      this._y+= this._ymouse/4;
      this._x+= this._xmouse/4;

      So what I am trying to do is to get the object to move slower than the mouse but finish moving wherever I let go of the click. So far I can get the object to move with the mouse without clicking and dragging at a slow speed but I cant get the drag to work at a slower speed, it will move as fast as the mouse moves. Can anyone help me? Much appreciated.