# Dynamic sound problem, please please help

**URL:** <https://forum.kirupa.com/t/dynamic-sound-problem-please-please-help/183037>\
**Category:** flash\
**Created:** [March 23, 2006, 8:47am UTC](https://forum.kirupa.com/t/dynamic-sound-problem-please-please-help/183037 "2006-03-23T08:47:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hexadecimal](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@hexadecimal](https://forum.kirupa.com/u/hexadecimal)\
**Post date:** [March 23, 2006, 8:47am UTC](https://forum.kirupa.com/t/dynamic-sound-problem-please-please-help/183037/1 "2006-03-23T08:47:48Z")

</div>

[COLOR=Blue]Hey guys im trying to figure out how to get this sound playing, hope anyone can help out =)[/COLOR]

[COLOR=Blue]When i use this method to attach the sound, from the library with likage it works just fine[/COLOR]  
[//Waveblirp.attachSound](https://Waveblirp.attachSound)(“Waveblirp”);  
[COLOR=Blue]  
But i want to load it dynamically so i use this function instead

[/COLOR]var Waveblirp:Sound = new Sound();  
Waveblirp.onLoad = function(success:Boolean):Void {  
if (success) {  
trace(“Sound Loaded”);  
}  
};  
Waveblirp.loadSound(“sounds/Waveblirp.aif”, false);

[COLOR=Blue]So when i use the linkage from library this works, but not with the function above, the sound isn´t playing… please help =)[/COLOR]  
slidebackbutton\_mc.onRelease = function() {  
Waveblirp.start(0,0);  
};

---

<div class="post-metadata">

**Author:** ![Pascal\_S](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@Pascal\_S](https://forum.kirupa.com/u/Pascal_S)\
**Post date:** [March 23, 2006, 11:21am UTC](https://forum.kirupa.com/t/dynamic-sound-problem-please-please-help/183037/2 "2006-03-23T11:21:10Z")

</div>

some useful links for you

> **[Help: Loop externally loaded mp3](https://www.kirupa.com/forum/showthread.php?t=197958&highlight=load+sound+external)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!

[http://kennybellew.cowfly.com/tutorial/dynamically.htm](http://kennybellew.cowfly.com/tutorial/dynamically.htm)

[http://www.actionscript.org/tutorials/intermediate/sounds\_and\_preloaders/index.shtml](http://www.actionscript.org/tutorials/intermediate/sounds_and_preloaders/index.shtml)
