I am having a problem with action script I used on a roll over to allow links within the movie clip that is the roll over. The code I am using to achieve this on the button is…
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();
}
}
}
I want to also be able to use a tell target when the movie clip is rolled over. When I add any other code to this, it no longer works. Can someone please tell me how to archive this or what I’m doing wrong? Thank you!