I use this code so that I dont have to add it straight into the button…and so it runs smoother. Anyway, since the movie is a little long on each one, the mouse over area is too long too. I can move over an area way over in the right and the button will play the little mc. This is kind of hard to explain. Here’s the .fla so you guys can get a better look at it.
Oh and here’s the URL so that you can see what I mean before you have to Download the file. When you go to the site, try moving around under the words NAV MENU. It still plays the mc. Can anyone help?!
Ok the problem is…I have 5 buttons. and its pretty much like this…
Since the movieclip for each button is so long…the AS makes it target the whole movie. I only want it to target the button area. How do I do this? :puzzle:
maybe you could try:
[AS]onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if(_root._xmouse <= 200){
this.nextFrame();
}
} else {
this.prevFrame();
}
}
[/AS]
and change the 200 to where the buttonarea ends