# Sound player

**URL:** <https://forum.kirupa.com/t/sound-player/152846>\
**Category:** Uncategorized\
**Created:** [June 27, 2005, 7:28pm UTC](https://forum.kirupa.com/t/sound-player/152846 "2005-06-27T19:28:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ineedsleep](https://avatars.discourse-cdn.com/v4/letter/i/e5b9ba/32.png) [@Ineedsleep](https://forum.kirupa.com/u/Ineedsleep)\
**Post date:** [June 27, 2005, 7:28pm UTC](https://forum.kirupa.com/t/sound-player/152846/1 "2005-06-27T19:28:59Z")

</div>

Im trying to make a sound player that doesnt load all the sounds on the first frame but on demand i.e. when the user clicks the button. I have tried but I get lots of different outcomes like a gargling sound or the sounds stop looping and things like that.

could some one tell me a quick and dirty way to do it!! Im a little slow so be patient!!!

on (release){  
mySound = new Sound();  
mySound.loadSound(“world.mp3”);  
mySound.start(0,999);  
}

this code loads the sound but it takes a few seconds which is ok but it stopped looping??

could some one tell me how to do this and I will be forever in your gratitude!!!
