# Playing and stoping music

**URL:** https://forum.kirupa.com/t/playing-and-stoping-music/78163
**Category:** flash
**Created:** [February 2, 2005, 4:41pm UTC](https://forum.kirupa.com/t/playing-and-stoping-music/78163 "2005-02-02T16:41:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Tahnaroth](https://avatars.discourse-cdn.com/v4/letter/t/838e76/32.png) [@Tahnaroth](https://forum.kirupa.com/u/Tahnaroth)
#### Post date: [February 2, 2005, 4:41pm UTC](https://forum.kirupa.com/t/playing-and-stoping-music/78163/1 "2005-02-02T16:41:21Z")

</div>

I have read the tutorials about creating a sound bar and how to play sounds unsing actionscripts, im quite confused.

I know how to play the sound using this:

on (release) {  
kirupaSound = new Sound(this);  
kirupaSound.attachSound(“coolsound”);  
kirupaSound.start(0, 99);  
}

But how to stop the sound? And how to play the next track, to pause them…  
Pls help!

Using this [http://www.kirupa.com/developer/mx/soundbar.htm](http://www.kirupa.com/developer/mx/soundbar.htm)  
I have no idea of how to merge the two sound and sound1 files. Need help too!
