Okay, I quit. I’ve tried incrementing _x, startDrag’s with easing…nothing. Anyone that can help explain how to code the little red bar for the navigation on this site ( http://www.brandnewrock.com/index.php ) will become my hero.
I’m kind of new, kind of not new…which is why I feel like an *** posting this question, because I SHOULD KNOW THIS.
Sorry to bother this thread again, but again, I can’t get this to work the way I want it.
How can I set it so that if the mouse is not over the navigation buttons (ie. home, portfolio, etc.) the underline moves away from all navigation buttons (by setting its x equal to -300, for example)?
I used a a function that used hitTests and setIntervals…but the action would still fire (with the appropriate delay a-la setInterval) when the mouse was over the nav MCs.
Using trace, I found that the main problem is that the setInterval keeps getting called every four seconds, instead of just being called once and clearing by way of the easeOff() function. Any suggestions?
That exactly what I’m trying, and it works…except that it doesn’t clear the setInterval and keeps calling it over and over (and multiple times, for each rollOut call).