multiple MC mouse follow scripts...
hey all...
i've just recently tried getting movie clips to follow the mouse with a certain amount of delay. Basically, i'm trying to get more than one MC to follow the mouse, but each with different delay times. For whatever reason, I can only get one clip to actually work - that is, follow the mouse and have a delay time. Any others I put on there will move with the mouse, but they will not follow the pointer. They just slide along, seemingly random-like on the X axis. Is there anything wrong with my script? It seems so simple, but i'm stumped:
mouse_x = _xmouse;
mouse_x2 = _xmouse;
setProperty (_root.follow, _x, mouse_x+((getProperty(_root.follow,_x)-mouse_x)/2));
setProperty (_root.follow2, _x, mouse_x2+((getProperty(_root.follow2,_x)-mouse_x2)/1.7));
A simple enough code, it's just not working for some reason. Any help?
|