Would you like to react to this message? Create an account in a few clicks or log in to continue.

Actionscript [MC follows mouse and hiding mouse cursor]

Go down

Actionscript [MC follows mouse and hiding mouse cursor] Empty Actionscript [MC follows mouse and hiding mouse cursor]

Post by Wingedge Tue Oct 14, 2008 2:58 am

MC is the instance name of an object

[frame]
Code:

MC.onMouseMove = function(){ // if mouse moves
  MC._x = _root._xmouse;
  MC._y = _root._ymouse;
}
Mouse.hide(); // hide mouse
Wingedge
Wingedge
Admin
Admin

Male
Number of posts : 77
Age : 40
Name : Sir Francis
Year Level : Instructor
Location : UC
Registration date : 2008-06-10

Credits
GP: 9999

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum