AS 2 help needed..should be simple (MC moves on mouse position)

I tried to be as CLEAR as i could but honestly, i have NO idea what its called lol…

first off, hello all, i found this posted SOMEWHERE on this site while looking around and ive been trying to do this for a WHILE…

http://www.kennylin.com/fink/blog/clock3d/Clock3D.html

now im not talking about the particle efects, im talking about the way the MC moves from left to right while stationary…based on mouse movement, anyone have any ideas what this function is called but more effectively, WHEre i can find a tut or something?

thanks in advance