A-----
.----
.--y
.--
.-
--x--B
You want to get from point A to B. Calculate the total difference which you habe to move:
x = B.x - A.x
y = B.y - A.y
example:
A(2|5)
B(6|3)
Your total movement: (4,-2);
Now if you want a fluid movement, apply a factor 0 < f < 1 to this. Say you want the animation to take one second and you want 30 FPS.
GameLoop:
OnClick:
totalMovement.x = mousePos.x - ObjectPos.x
totalMovement.y = mousePos.y - ObjectPos.y
Object.move(totalMovement * (1/30)) //PseudeCode. Make sure you use floating point division
Edit: Too slow, I posted it anyway.
P.S.: What is ment by "scaling that vector to the desired velocity, yielding v"?