# loadSound only works locally

**URL:** <https://forum.kirupa.com/t/loadsound-only-works-locally/183002>\
**Category:** flash\
**Created:** [March 23, 2006, 2:15am UTC](https://forum.kirupa.com/t/loadsound-only-works-locally/183002 "2006-03-23T02:15:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![evynco](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/evynco/32/2159_2.png) [@evynco](https://forum.kirupa.com/u/evynco)\
**Post date:** [March 23, 2006, 2:15am UTC](https://forum.kirupa.com/t/loadsound-only-works-locally/183002/1 "2006-03-23T02:15:19Z")

</div>

I’ve searched the fora and also looked at the excellent tutorial that one of the members has posted a link to, however;

I have a very simple use of loadSound, on it’s own layer, on the [COLOR=black]only timeline[/COLOR] I have,

> myMusic = new Sound();  
> myMusic.loadSound(“music1.mp3”,true);

music1.mp3 is 1.5meg and is in the same folder as the SWF.

Locally, this works fine, when I test the movie within Flash, the mp3 starts to play almost straight away.

The problem is that when I moved everything up to my server, the mp3 doesnt play. The .swf and the music1.mp3 are in the same folder on the server.

[COLOR=black]I don’t think I need to give the full path to the mp3 do I ?[/COLOR]

I tried moving the mp3 to it’s own folder and changing the code to

> myMusic.loadSound(“BBRmusic/music.mp3”,true)  
> but still no joy.

Am I missing something here ?

Thank you, this is driving me nuts.
