hi, i have an action script question: I am rewinding a movieclip (animation), but the code right now rewinds all the way to the start. I would like the animation to stop IF it gets to a keyframe where a stop command is present. My code is this:
if (_root.animation._currentframe>1) {
_root.animation.prevFrame();
this.gotoAndPlay(2);
}
if (_root.animation._currentframe<=1) {
this.gotoAndStop(1);
}
if (_root.animation._currentframe = stop() {
this.gotoAndStop(1);}
Where the two first are correct and copy/paste from a homepage. The last is my suggestion to what might be the solution, but as i am a copy/paste programmer, of course it doesn't work!
if you want to see the flash file, it can be downloaded here: www.kaaresmith.dk/download/test3.fla
Thank you!





Bookmarks