# Stopping mc - still not there

**URL:** <https://forum.kirupa.com/t/stopping-mc-still-not-there/9377>\
**Category:** Uncategorized\
**Created:** [December 10, 2002, 6:07pm UTC](https://forum.kirupa.com/t/stopping-mc-still-not-there/9377 "2002-12-10T18:07:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruth007](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@ruth007](https://forum.kirupa.com/u/ruth007)\
**Post date:** [December 10, 2002, 6:07pm UTC](https://forum.kirupa.com/t/stopping-mc-still-not-there/9377/1 "2002-12-10T18:07:57Z")

</div>

on actions layer, frame 1 inside my movie clip I have:

counter

on the last frame of an animation layer inside the same mc I have:

if (counter \< 4){  
counter += 1;  
gotoAndPlay(“frmStart”);  
}

(and) it is still not stopping as desired…

please- any advice would be helpful

---

<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:** [December 10, 2002, 6:14pm UTC](https://forum.kirupa.com/t/stopping-mc-still-not-there/9377/2 "2002-12-10T18:14:33Z")

</div>

if (counter \< 4){  
counter += 1;  
gotoAndPlay(“frmStart”);  
this.stop();  
}

---

<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:** [December 10, 2002, 6:20pm UTC](https://forum.kirupa.com/t/stopping-mc-still-not-there/9377/3 "2002-12-10T18:20:13Z")

</div>

now it only plays once…

?

the only place that I have counter is in frame 1 - do I need to declare this somewhere else?

---

<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:** [December 10, 2002, 6:21pm UTC](https://forum.kirupa.com/t/stopping-mc-still-not-there/9377/4 "2002-12-10T18:21:39Z")

</div>

if (counter \< 4){  
counter += 1;  
gotoAndPlay(“frmStart”);  
} else {  
stop();  
}

---

<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:** [December 10, 2002, 6:25pm UTC](https://forum.kirupa.com/t/stopping-mc-still-not-there/9377/5 "2002-12-10T18:25:13Z")

</div>

thank you to EVERYONE who responded…

\<:}

---

<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:** [December 10, 2002, 6:30pm UTC](https://forum.kirupa.com/t/stopping-mc-still-not-there/9377/6 "2002-12-10T18:30:11Z")

</div>

Lol, so much ppl responded, anyways, You leak basics, take a look at this tutorial, very handy for newbies. 🙂

[http://downloads.junioronline.us/details.php?section=4&item=1](http://downloads.junioronline.us/details.php?section=4&item=1)
