# Trying to stop movie clip playing

**URL:** <https://forum.kirupa.com/t/trying-to-stop-movie-clip-playing/27956>\
**Category:** Uncategorized\
**Created:** [August 8, 2003, 9:12am UTC](https://forum.kirupa.com/t/trying-to-stop-movie-clip-playing/27956 "2003-08-08T09:12:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Slowpoke2](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Slowpoke2](https://forum.kirupa.com/u/Slowpoke2)\
**Post date:** [August 8, 2003, 9:12am UTC](https://forum.kirupa.com/t/trying-to-stop-movie-clip-playing/27956/1 "2003-08-08T09:12:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 8, 2003, 10:58am UTC](https://forum.kirupa.com/t/trying-to-stop-movie-clip-playing/27956/2 "2003-08-08T10:58:50Z")

</div>

It’s in the last piece of code:

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

```

pom 🙂
