|
|
|
#1 |
|
Junior Member
Join Date: Jun 2007
Posts: 14
|
Follow curser from a different angle
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?
|
|
|
|
|
|
#2 |
|
FK'n_dog
Join Date: Apr 2003
Location: "aaarf"
Posts: 9,176
|
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;
}
|
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|