I am using the following code for 5 different buttons:
[AS]
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.nextFrame();
} else {
this.prevFrame();
}
}
[/AS]
Is there a way to make it so when one button is clicked ) with the above AS attached, i can make it stay on the last frame or at least gotoAndStop on a frame? Then when a different button is pressed it is reset and the button pressed stops on its last frame. Any idea how this can be done? I have seen it on several sites.