Follow the mouse....

hi, i have been trying to design a nav bar for a website where there is a movie clip with
>      <     as a pointer, which follows the mouse up and down the nav bar and points to the buttons when the mouse is over them. the problem is that it always seems to be a few places lower than the mouse is. this is due to the way when u have a movie clip there is a border round it which makes the movie clip larger in size dimensions than the characters in it.

the actionscript code im using is

onClipEvent (load) {
onClipEvent (enterFrame) {
        if (_y<top) {
        } else if (_y>bottom) {

and the problem can be viewed at

thanks pete

Who is Participating?
hsmtpConnect With a Mentor Commented:

your code looks ok. try to move content of your movieClip (those ">   <") a little bit higher.
pete420Author Commented:
red face here!!
i didnt realize the character > and < could be moved higher in the clip!

fair play tho, u put me on the right track.


Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.