# Wondering about Movie Clips, and stop()

**URL:** <https://forum.kirupa.com/t/wondering-about-movie-clips-and-stop/2255>\
**Category:** flash\
**Created:** [May 3, 2002, 5:08am UTC](https://forum.kirupa.com/t/wondering-about-movie-clips-and-stop/2255 "2002-05-03T05:08:41Z")\
**Posts on this page:** 4\
**Page:** 1

<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:** [May 3, 2002, 5:08am UTC](https://forum.kirupa.com/t/wondering-about-movie-clips-and-stop/2255/1 "2002-05-03T05:08:41Z")

</div>

Movie clips will loop no matter what, unless there’s a stop() action in the script. So…

When I’ve created a 1 frame movie clip, I always place a stop action in that frame, because I’ve just assumed that flash doesn’t care that it only has one frame, and keeps looping it. I know it does no harm, but I figure reducing loops is never a bad thing.

But I’ve noticed in Open Source files, other movie clips that only have one frame, the author didn’t add a stop command.

Does Flash not loop movie clips with 1 frame (if it has 2 or more it will), or do other people just not consider it?

---

<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:** [May 3, 2002, 8:27am UTC](https://forum.kirupa.com/t/wondering-about-movie-clips-and-stop/2255/2 "2002-05-03T08:27:56Z")

</div>

nope you’re correct… It will loop them, and if you have the option, you’re probebly better off placing a stop(); action there if you don’t need the clip to loop. It will reduce processor requirements upon the viewers system.

I think that most programers are lazy if I’m any indication and just end up leaving the stop out of their production.

Good thing to mention… not many think of that.

---

<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:** [May 5, 2002, 9:41pm UTC](https://forum.kirupa.com/t/wondering-about-movie-clips-and-stop/2255/3 "2002-05-05T21:41:30Z")

</div>

when you attach your swf file to your html page, can’t you just put “loop=false” in your embed tag?

---

<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:** [May 5, 2002, 11:22pm UTC](https://forum.kirupa.com/t/wondering-about-movie-clips-and-stop/2255/4 "2002-05-05T23:22:07Z")

</div>

That will stop the swf from looping, but not a 1 framed movie clip.

Say I want a button to move around the screen, I put that in a clip, and it’s only 1 frame long. So I add stop() to it, so it doesn’t loop. Other clips I may want to loop, like a series of animations or something, so I don’t include the stop() command.

Glad that my train of thought is not all whacked on me. 🙂
