# Dynamically Loading mp3's

**URL:** <https://forum.kirupa.com/t/dynamically-loading-mp3s/87589>\
**Category:** flash\
**Created:** [April 22, 2005, 3:07am UTC](https://forum.kirupa.com/t/dynamically-loading-mp3s/87589 "2005-04-22T03:07:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stargrrl](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@Stargrrl](https://forum.kirupa.com/u/Stargrrl)\
**Post date:** [April 22, 2005, 3:07am UTC](https://forum.kirupa.com/t/dynamically-loading-mp3s/87589/1 "2005-04-22T03:07:07Z")

</div>

I’ve just used this code to dynamically load an mp3.

//put this on the first frame  
mySound = new Sound();

//then attached this to a button  
on (release) {  
mySound.loadSound(“[http://www.antoniomusic.com/audio/MusicIsBorn.mp3](http://www.antoniomusic.com/audio/MusicIsBorn.mp3)”,true);  
}

I’d like to make another button that makes the sound stop. I’m lost as to how to do this. Any ideas?

TIA  
Amelia
