Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mouse following pointer

Status
Not open for further replies.

abbott567

Technical User
Jun 18, 2007
38
GB
hello - i am wondering if anybody could help me

i want my flash movie to be a picture and wen u scroll the mose around the screen i want the picture to move in the opposite direction if possible...

so if i move my mouse left the picture moves right proportionally

can anybody help?
 
try this....

mouse_x = -_xmouse;
setProperty(_root.follow, _x, mouse_x+((getProperty(_root.theMC, _x)-mouse_x)/1.15));


put this on your main timeline frame, 1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top