# Dynamically loaded mp3...I wish

**URL:** https://forum.kirupa.com/t/dynamically-loaded-mp3-i-wish/37694
**Category:** Uncategorized
**Created:** [December 13, 2003, 12:05am UTC](https://forum.kirupa.com/t/dynamically-loaded-mp3-i-wish/37694 "2003-12-13T00:05:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![crapboyjr](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@crapboyjr](https://forum.kirupa.com/u/crapboyjr)
#### Post date: [December 13, 2003, 12:05am UTC](https://forum.kirupa.com/t/dynamically-loaded-mp3-i-wish/37694/1 "2003-12-13T00:05:45Z")

</div>

Hey Everyone,

I’ve searched the forums and tutorials and I’m using the code below to load an mp3 dynamically into an empty movie clip.

I want the mp3 loop play once the movie has been loaded.

Tell me if I messed up the code below:

* * *

this.onEnterFrame = function () {  
\_root.createEmptyMovieClip(“container”, 1);  
mySound = new Sound();  
mySound.loadSound(“introloop.mp3”,false);  
}

* * *

Note: when I had the streaming set to “true”, the mp3 sounded crappy. So I changed it to false and there was no sound at all.

Thanks for any suggestions.
