# Playing sound problem

**URL:** <https://forum.kirupa.com/t/playing-sound-problem/182902>\
**Category:** flash\
**Created:** [March 22, 2006, 10:26am UTC](https://forum.kirupa.com/t/playing-sound-problem/182902 "2006-03-22T10:26:06Z")\
**Posts on this page:** 1\
**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 22, 2006, 10:26am UTC](https://forum.kirupa.com/t/playing-sound-problem/182902/1 "2006-03-22T10:26:06Z")

</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);  
};
