Hello Guru's. (Wish I could say, "Fellow Guru's" )
..heh So I have hashed together a button I saw on another site, and am pretty close to the end result. Basically, it's an animated button, and on mouseout, I want to reverse the animation. This works fine previewing in flash with CRTL-ENTER, but if I preview in HTML " F12 " The clicp plays once on mouseOver, but does not reverse itself as it did in the preview.
.FLA file here;
http://www.tyfactor.com/no_reverse.fla
This is my script I'm trying to use;
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
// 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 (release) {
//Goto Webpage Behavior
getURL("http://www.tyfactor.com","_self");
//End Behavior
}
Many thanks for any help you all may be able to provide.