# Stopping audio with actionscript

**URL:** <https://forum.kirupa.com/t/stopping-audio-with-actionscript/102019>\
**Category:** Uncategorized\
**Created:** [February 18, 2004, 10:53pm UTC](https://forum.kirupa.com/t/stopping-audio-with-actionscript/102019 "2004-02-18T22:53:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![age6racer](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@age6racer](https://forum.kirupa.com/u/age6racer)\
**Post date:** [February 18, 2004, 10:53pm UTC](https://forum.kirupa.com/t/stopping-audio-with-actionscript/102019/1 "2004-02-18T22:53:49Z")

</div>

Hi,

I just completed a [sound tutorial](http://www.kirupa.com/developer/actionscript/sound.htm)

And i managed to get the sound to load up fine. but I’m really struggling with the stopping of it.

What code should I use to stop the code used in the tutorial above?

---

<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:** [February 18, 2004, 11:09pm UTC](https://forum.kirupa.com/t/stopping-audio-with-actionscript/102019/2 "2004-02-18T23:09:35Z")

</div>

Using that same tutorial you could add another button with this on it:

```auto

on (release) {
	kirupaSound.stop();
}

```

Adam

---

<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:** [February 18, 2004, 11:14pm UTC](https://forum.kirupa.com/t/stopping-audio-with-actionscript/102019/3 "2004-02-18T23:14:28Z")

</div>

yeah, i just kinda figured that out. thanks for your effort though.
