Whoah, you’re at our level cap. Good job, you rock! Here, have some cake.
Community Get activity updates from around Kongregate.
Explore Kongregate & earn 10 kreds Here are your 10 free kreds Explore Kongregate & earn a trophy Here’s a shiny trophy for you 15%
Keep exploring Kongregate with more badges and games!
Hide the progress bar forever? Yes No
3 posts
Sign in to reply
Is there a method to know when an animation has finished and reached it’s last frame and then null it or gotoAndStop(2)? Won’t be able to respond for the helpful things that people post, because I am going to bed now :)
Why don’t you add gotoAndStop(2) or
stop(); MovieClip(parent).removeChild(this)
on the last frame of your object?
alternatively there are currentFrame and totalFrames variables(with underscores if using as2)
so something along the lines of
if(this.currentFrame == this.totalFrames) { //do something }
in an enter frame event function would work.
X
Loading