# stopAllSound never works for me :(

**URL:** <https://forum.kirupa.com/t/stopallsound-never-works-for-me/108905>\
**Category:** Uncategorized\
**Created:** [April 29, 2004, 6:47pm UTC](https://forum.kirupa.com/t/stopallsound-never-works-for-me/108905 "2004-04-29T18:47:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandman9](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@Sandman9](https://forum.kirupa.com/u/Sandman9)\
**Post date:** [April 29, 2004, 6:47pm UTC](https://forum.kirupa.com/t/stopallsound-never-works-for-me/108905/1 "2004-04-29T18:47:55Z")

</div>

The script on my timeline

```auto

stop();
bgSound = new Sound();
bgSound.attachSound("welcome.wav");
bgSound.start(0, 1);
fSound = new Sound();
fSound.attachSound("first");
sSound = new Sound();
sSound.attachSound("second.wav");
tSound = new Sound();
tSound.attachSound("third.wav");
foSound = new Sound();
foSound.attachSound("fourth.wav");
fiSound = new Sound();
fiSound.attachSound("fifth.wav");

bgSound.onSoundComplete = function()
{
       gotoAndPlay("sec_1");
	   fSound.start(0,1);
}
fSound.onSoundComplete = function()
{
	sSound.start(0,1);
}
sSound.onSoundComplete = function()
{
	tSound.start(0,1);
}
tSound.onSoundComplete = function()
{
	foSound.start(0,1);
}
foSound.onSoundComplete = function()
{
	fiSound.start(0,1);
}
fiSound.onSoundComplete = function()
{
	_root.gotoAndPlay("main");
}

```

Then I have a button on this timeline with the following

```auto

on(release) {
     stopAllSounds();
}

```

Anyone know why stopAllSounds(); isn’t working?
