Hello, I am trying to figure this out and getting no where, so I was hoping someone here might see something I’m not. I need to know why the following action script is not working together. When I put in one or the other, they work fine, put them together like this, and it kills the mouse over script. Can someone please tell me what I’m doing wrong? Thank you.
onClipEvent (enterFrame) {
// if the mouse IS over the clip ...
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
// if the last frame of the tween hasn't been reached...
if (this._currentframe < this._totalframes) {
// keep playing the next frame to the last and stop...
this.nextFrame();
}
// if the mouse is NOT over the clip
} else {
// if we're past the first frame of the tween...
if (this._currentframe > 1) {
// play the previous frame until it reaches frame 1 and stop...
this.prevFrame();
}
}
}
on (rollOver) {
tellTarget ("/Links") {
gotoAndPlay ("2down")
}
}