# Pause/Play Button Script Assistance

**URL:** https://forum.kirupa.com/t/pause-play-button-script-assistance/90792
**Category:** flash
**Created:** [May 20, 2005, 7:12pm UTC](https://forum.kirupa.com/t/pause-play-button-script-assistance/90792 "2005-05-20T19:12:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![n3wbi3](https://avatars.discourse-cdn.com/v4/letter/n/8dc957/32.png) [@n3wbi3](https://forum.kirupa.com/u/n3wbi3)
#### Post date: [May 20, 2005, 7:12pm UTC](https://forum.kirupa.com/t/pause-play-button-script-assistance/90792/1 "2005-05-20T19:12:35Z")

</div>

Greetings,

I need assistance with button script. The result I am trying to achieve is a “Pause” button that when pressed:

1. pauses the movie , of course
2. switches to a “Play” button that when pressed reverts to the “Pause” button and resumes movieclip play.

Any thoughts? All help is very much appreciated.

Thank you!!  
n3wbi3 😃

---

<div class="post-metadata">

### Author: ![lolomedia](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@lolomedia](https://forum.kirupa.com/u/lolomedia)
#### Post date: [March 27, 2006, 7:14pm UTC](https://forum.kirupa.com/t/pause-play-button-script-assistance/90792/2 "2006-03-27T19:14:11Z")

</div>

Hello fellas!

what if I have many other .swfs… I tried to use your example for pause play button but it doesn’t pause or play anything.  
Would I need a global pause play button?..

I also have audio on other .swfs, how do I go by accomplish this?

Thank you.:pa:

> [@JamoPunk21](#):
>
> Hey n3wbi3,  
> I’m new to the forums myself. But i did manage to make a simple program that plays and pauses a movie clip. I also added in comments to help you better understand what i did. There are quite a few ways of doing what you need to do, So i did the most basic way i could think of. I hope that helps. Any further questions, Don’t hesitate to ask.

---

<div class="post-metadata">

### Author: ![wyclef](https://avatars.discourse-cdn.com/v4/letter/w/65b543/32.png) [@wyclef](https://forum.kirupa.com/u/wyclef)
#### Post date: [March 27, 2006, 9:38pm UTC](https://forum.kirupa.com/t/pause-play-button-script-assistance/90792/3 "2006-03-27T21:38:17Z")

</div>

what about a rewind button? does this assume that all the animation is in the root timeline?
