ok lets say you create a button that when held down play an animation of 20 frames if realsed it goes to frame one and stops if held down it plays out this animation. for the topic lets say you have a fire animation and you want the fire to apear and if the user hold its down the animation reaches the end of the time line and loops back and plays the last 5 frames of the animation and as soon as it is let go it goes to and stops at frame one. Well i know how to make a button that when held down plays out an animation. And i know how to say when released goes to and stops at frame one. What i dont know how to do is to loop the fire at the last 5 or 6 frames so the user can hold it down all day long and play out that animation. thank you for any hold you might have.
Just put a command in the last frame to gotoAndPlay(#) where # is whatever frame number is 5 or 6 frames from the end