# Sound file not loading?

**URL:** <https://forum.kirupa.com/t/sound-file-not-loading/26000>\
**Category:** Uncategorized\
**Created:** [July 18, 2003, 1:02pm UTC](https://forum.kirupa.com/t/sound-file-not-loading/26000 "2003-07-18T13:02:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mariam](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@mariam](https://forum.kirupa.com/u/mariam)\
**Post date:** [July 18, 2003, 1:02pm UTC](https://forum.kirupa.com/t/sound-file-not-loading/26000/1 "2003-07-18T13:02:29Z")

</div>

i’m using the sound object to load a sound into flash.  
this is the code.

s = new Sound();  
s.loadSound(“likeleopard.mp3”);  
s.start(0,1);

the sound file is sitting in the same folder as swf file.it is not in the library.  
This works ok when i test it in Flash. but when i test it in Dreamweaver the sound file doesn’t load. Can anyone tell me what i’m doing wrong?  
cheers  
maria

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 18, 2003, 4:56pm UTC](https://forum.kirupa.com/t/sound-file-not-loading/26000/2 "2003-07-18T16:56:14Z")

</div>

check your directories, you syntax is correct

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 18, 2003, 10:43pm UTC](https://forum.kirupa.com/t/sound-file-not-loading/26000/3 "2003-07-18T22:43:49Z")

</div>

This is a complete stab in the dark, seeing as I don’t know Dreamweaver at all, but Dreamweaver may create a local version of the flash file, but not the mp3. Does it work if you put the full path in?

My only other wild guess would be that there’s some obscure setting you need to alter.

…Yeah mama, called life (sugar)…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 18, 2003, 11:34pm UTC](https://forum.kirupa.com/t/sound-file-not-loading/26000/4 "2003-07-18T23:34:34Z")

</div>

no setting

[http://www.delusionalfx.com/tutorials/xternalsound.htm](http://www.delusionalfx.com/tutorials/xternalsound.htm)

there’s a working fla there

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 19, 2003, 11:06am UTC](https://forum.kirupa.com/t/sound-file-not-loading/26000/5 "2003-07-19T11:06:08Z")

</div>

thanks everyone, the problem is solved. fyi  
the problem was that i left out “true” parameter. it should have been like this.  
s = new Sound();  
s.loadSound(“likeleopard.mp3”, true);  
s.start(0,1);

so many thanks. especially the deluionalfx tutorial  
maria

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 19, 2003, 6:28pm UTC](https://forum.kirupa.com/t/sound-file-not-loading/26000/6 "2003-07-19T18:28:54Z")

</div>

glad u liked it 🙂
