Trying to stop movie clip playing

Hey, i just did the load sound bar tutorial (great tutorial btw) and i made an animation that said loading, but i dont know how to get it to stop after its done loading…does anyone know how i can fix this? thanks

It’s in the last piece of code:

totalb = _root.getBytesTotal();
loadedb = _root.getBytesLoaded();
if (loadedb == totalb) {
yourAnimation.stop();
//     _root.gotoAndPlay(3);
}

pom :slight_smile: