I am working on an animated character. It is fairly simple, when it gets to the last frame of the animation I would like it to go back to the ninth frame of the animation, which I have labeled as “nine” and play through that maybe 3 or 4 times.
What code would I add in to do this?
you could set up some sort of variable and do an if else statement, like for each time it played it would add to that variable and not play after it reached that limit.
There is probably an extremly simple way to do this, so anyone else with an idea is free to put mine to shame. But…
I would stick with your goto and play “nine”, and on that frame i would put some actions. I would also add an empty mc with maybe 3 or 4 (or however many you want) keyframes with a stop on them and name the instance. The actions on “nine” would tell the mc to advance a frame. On the last frame inside the mc you can tell the main timeline to go to whatever frame is your ending one.
OK, i just read that back, and it made very little sense… if you cant work it out and no one else has a better idea, ill make u a quick example. Good luck.
okay Kax, (and everyone else thankyou)
you are referring me to the thread that is referred to in the thread that I am linking to right? L
I just glanced through it quick and am going to try it. This is a stand alone mc, for now anyway, he (the character mc) might be his own swf or his own mc- there may not be another mc to refer to once it is finished playing.
That may not matter though, like I said I am going to go look more carefully.
thanks again
:s:
:run:
I did search first…I did a search on loop, looping and could not find the info I wanted. I always search first…
Anyway, after that I was not sure what else to search for so I posted the thread