# Urgent help with play/pause button

**URL:** https://forum.kirupa.com/t/urgent-help-with-play-pause-button/29480
**Category:** Uncategorized
**Created:** [August 27, 2003, 10:31am UTC](https://forum.kirupa.com/t/urgent-help-with-play-pause-button/29480 "2003-08-27T10:31:39Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![chimpo](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@chimpo](https://forum.kirupa.com/u/chimpo)
#### Post date: [August 27, 2003, 10:31am UTC](https://forum.kirupa.com/t/urgent-help-with-play-pause-button/29480/1 "2003-08-27T10:31:39Z")

</div>

I have seen umpteen different guides on how to make a play/pause button in flash. and i cannot get it to work. I think i may pull my hair out soon.

basically- i have made an mc which sits on the main timeline. i t has 2 frames, ecah of which has a stop() action in the frame. the first has a pause button with the following script attached to to the button:

on(release){  
\_root.stop();  
gotoAndStop(2);  
}

i have also tried putting in nextFrame instead of gotoAndStop() -but this is besides the point as it’s not even stopping!

in the second frame there is a play button with the following scruipt attached to it:

on(release){  
\_root.play();  
gotoAndStop(1);  
}

I think the problem may be deeper rooted because i have looked on sevral guides and they all tell me to do a similar thing.  
In fact i made a button which sat on the timeline with this script

on (release) {  
\_root.stop();  
}

and STILL nothing happened!!! someone helo me please!!

chimpo

---

<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 27, 2003, 11:06am UTC](https://forum.kirupa.com/t/urgent-help-with-play-pause-button/29480/2 "2003-08-27T11:06:31Z")

</div>

thave you tried:  
\_root.mcName.stop();

or

mcName.stop();

and why are you going to another frame? when i did mine i just used stop and play…then again that was when i was learning f5, but i think it still worked well.

hope it helps.  
-mike

---

<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 27, 2003, 11:23am UTC](https://forum.kirupa.com/t/urgent-help-with-play-pause-button/29480/3 "2003-08-27T11:23:15Z")

</div>

im not trying to stop an mc- but trying to stop the entire timeline. The stop/pause buttons are inside an mc

---

<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 27, 2003, 1:44pm UTC](https://forum.kirupa.com/t/urgent-help-with-play-pause-button/29480/4 "2003-08-27T13:44:46Z")

</div>

Please dont crosspost chimpo.  
Here it is

---

<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 27, 2003, 3:51pm UTC](https://forum.kirupa.com/t/urgent-help-with-play-pause-button/29480/5 "2003-08-27T15:51:11Z")

</div>

Iam very sorry but i have to demonstrate my project on monday and the panic is begining to set in. However- that fla works PERFECTLY. That, and coupled with the fact that you have a V Records logo/Movement logo as your avatar = you. are. a. genius

thanks so much !!

---

<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 27, 2003, 4:34pm UTC](https://forum.kirupa.com/t/urgent-help-with-play-pause-button/29480/6 "2003-08-27T16:34:27Z")

</div>

:beam: welcome
