scorpio rising
October 20th, 2003, 05:11 PM
Hi there....
I'm using the code 'rotate towards the mouse' from http://moock.org/asdg/codedepot/
It works fine to rotate the clip, but there's two things I'd like to have happen here:
1. At a certain angle of rotation, the MC that is following the mouse reflects horizontally. example: a profile of a head is following the mouse. i don't want the head to be upside down when the mouse reaches the back of the head, but rather the head flips over to watch the mouse.
2. Boundaries: is there some way to set up the code so that the MC stops following the mouse when it reaches a certain position on the Y-axis?
I hope this is clear. Thanks for any help that can be provided.
I'm using Flash MX or MX 2k4, whichever is more convenient for this project.
I'm using the code 'rotate towards the mouse' from http://moock.org/asdg/codedepot/
It works fine to rotate the clip, but there's two things I'd like to have happen here:
1. At a certain angle of rotation, the MC that is following the mouse reflects horizontally. example: a profile of a head is following the mouse. i don't want the head to be upside down when the mouse reaches the back of the head, but rather the head flips over to watch the mouse.
2. Boundaries: is there some way to set up the code so that the MC stops following the mouse when it reaches a certain position on the Y-axis?
I hope this is clear. Thanks for any help that can be provided.
I'm using Flash MX or MX 2k4, whichever is more convenient for this project.