# Music help

**URL:** https://forum.kirupa.com/t/music-help/184
**Category:** Uncategorized
**Created:** [July 9, 2002, 3:06am UTC](https://forum.kirupa.com/t/music-help/184 "2002-07-09T03:06:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![chalkboard2](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@chalkboard2](https://forum.kirupa.com/u/chalkboard2)
#### Post date: [July 9, 2002, 3:06am UTC](https://forum.kirupa.com/t/music-help/184/1 "2002-07-09T03:06:55Z")

</div>

alright, so ive got a button the make the song play…now how do i make a song stop with a different button?

---

<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: [July 9, 2002, 4:18am UTC](https://forum.kirupa.com/t/music-help/184/2 "2002-07-09T04:18:42Z")

</div>

well, and this is assuming that you have your first button do something like gotoandplay(15) and you have your music start at frame 15, but you could have the second button say gotoandstop(14) at a time when the music is not playing.  
Actually, this can be done better in actionscript, but it might be more than you want to do.  
Lemme know if i can help.

Valmont

---

<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: [July 9, 2002, 4:20pm UTC](https://forum.kirupa.com/t/music-help/184/3 "2002-07-09T16:20:42Z")

</div>

well, with the play button, i just added a key frame in the “hit” frame and then put in the music and it seemed to work.

ive got a button already made to make it stop, but now i just need to figure out how to make it work.

---

<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: [July 10, 2002, 5:04am UTC](https://forum.kirupa.com/t/music-help/184/4 "2002-07-10T05:04:23Z")

</div>

oh, well, one, thats a bad way to do it if you’re not using actionscript. you’d have to set an outside tag that toggles on and off, and have your button search for whether or not it’s been toggled… but your problem can be solved, perhaps by adding in a stop all sounds action in the last frame of the button.  
it’s a basic action you can select from the left of the actionscript window, i know that, just can’t remember how it looks.  
if i’m high (which i think i am), then this won’t work, and in that instance just tell me and i’ll look myself for ya.  
good luck  
Valmont

---

<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: [July 10, 2002, 6:12pm UTC](https://forum.kirupa.com/t/music-help/184/5 "2002-07-10T18:12:44Z")

</div>

that idea seemed to work out pretty well. its work fine right now. thanks for your help!
