Actionscript [MC follows mouse and hiding mouse cursor]

Go down

Actionscript [MC follows mouse and hiding mouse cursor]

Post by Wingedge on 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
avatar
Wingedge
Admin
Admin

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

Credits
GP: 9999

View user profile

Back to top Go down

Back to top

- Similar topics

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