I made an object follow the curser, but it follows the curser in the bottom right corner.. I want the object to follow the curser from the left top corner, how do I do that?
Printable View
I made an object follow the curser, but it follows the curser in the bottom right corner.. I want the object to follow the curser from the left top corner, how do I do that?
open the movieclip containing the object and place the object at 0,0
add code on the main timeline -
Code:this.onMouseMove = function(){
mc._x = _xmouse;
mc._y = _ymouse;
}