# Sound issue that won't die!

**URL:** <https://forum.kirupa.com/t/sound-issue-that-wont-die/80937>\
**Category:** flash\
**Created:** [February 26, 2005, 12:59am UTC](https://forum.kirupa.com/t/sound-issue-that-wont-die/80937 "2005-02-26T00:59:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![denizengt](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@denizengt](https://forum.kirupa.com/u/denizengt)\
**Post date:** [February 26, 2005, 12:59am UTC](https://forum.kirupa.com/t/sound-issue-that-wont-die/80937/1 "2005-02-26T00:59:07Z")

</div>

(AS1.0 FP 6.0) This code didn’t work:

bang= new Sound(this);  
bang.attachSound(“bang\_id”);  
bang.setVolume(80);  
bang.start();

So I tried putting in a function:

theGame.prototype.playSound = function(id){  
sound\_snd= new Sound(this);  
sound\_snd.attachSound(id);  
//sound\_snd.setVolume(80);  
sound\_snd.start();  
}

Still doesn’t work…I’ve checked system volume, made sure my sound file was named correctly and exported and do not know what to try next. The sound is typically called in a function call, because I want it to play on a collision
