Okay, so I have a looping animation that is several frames long. Inside the animation is a button, when pressed I want to go to another part of the timeline, where another animation is waiting. Simple, I got that working no problem.
But… I need the first animation to go to the last frame in the loop before starting the next animation. The way I have it now makes an ugly cut, and the transition between animations isn’t seamless.
Here’s my actionscript… I kinda had an idea of what to do and then I got stuck. I think this would be telling it that if it were on the last frame of the loop, to go to the next animation. What I want is the button command to be acknowledged, but if it isn’t on the last frame then let the animation play through until it gets there, then switch animations.
[AS]on (press) {
if (_root.Character._currentframe == (“CharacterTransition”)) {
_root.Character.gotoAndPlay(“CharacterStop”);
}
}[/AS]
Does that make any sense? Haha sorry, seems like a simple concept… I just don’t know how to implement it :h: