Ok here is the thing, I have the following code on my buttons.
[AS]
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.nextFrame();
} else {
this.prevFrame();
}
}
[/AS]
This makes the button animation rewind or play depending on if the mouse is over the button. I want to have this on my buttons but I also want a different movie clip on a different layer to go to the next frame or previous frame depending on the rollover. Basically, I need to know how to add something in addition to:
[AS]
this.nextFrame();
AND
this.prevFrame();
[/AS]
with a different movieclip in replace of “this”. The movieclip is located in my main movie (_root). But when I tried:
[AS]
_root.MyMovie.prevFrame();
[/AS]
it didn’t work. ANy suggestions on how to make it work. THANKS VERY MUCH.
MIke