# Stopping sound problem

**URL:** <https://forum.kirupa.com/t/stopping-sound-problem/278572>\
**Category:** flash\
**Created:** [January 2, 2009, 2:59am UTC](https://forum.kirupa.com/t/stopping-sound-problem/278572 "2009-01-02T02:59:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mebius89](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@mebius89](https://forum.kirupa.com/u/mebius89)\
**Post date:** [January 2, 2009, 2:59am UTC](https://forum.kirupa.com/t/stopping-sound-problem/278572/1 "2009-01-02T02:59:04Z")

</div>

I can play my desired sound by putting the code below.

theSoundBG.play();

However, I can’t stop the sound when I put this code.

theSoundBG.stop();

I will get an error saying “stop is not a function” when the game runs.

Help ? Thanks.
