# loadSound problem

**URL:** <https://forum.kirupa.com/t/loadsound-problem/280690>\
**Category:** Uncategorized\
**Created:** [January 30, 2009, 12:50pm UTC](https://forum.kirupa.com/t/loadsound-problem/280690 "2009-01-30T12:50:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ehud](https://avatars.discourse-cdn.com/v4/letter/e/ebca7d/32.png) [@ehud](https://forum.kirupa.com/u/ehud)\
**Post date:** [January 30, 2009, 12:50pm UTC](https://forum.kirupa.com/t/loadsound-problem/280690/1 "2009-01-30T12:50:40Z")

</div>

i have an swf which includes flv.  
in order to add music to flv the following script is placed in first frame.

swf is in server and you can see it:

[[COLOR=#810081]http://www.tovale.co.il/ktantanim/train3.swf[/COLOR]](http://www.tovale.co.il/ktantanim/train3.swf)

when it is first played the music does not sound.  
if i refresh the page it is ok and sound is heard.and from that time it is allways heard( i think maybe because it is in the cache).  
how can i solve the problem?

Attach Code  
my\_sound= new Sound(this);my\_sound.loadSound"[http://www.tovale.co.il/ktantanim/Harakevet.mp3](http://www.tovale.co.il/ktantanim/Harakevet.mp3)",true);

[[COLOR=#0000ff]Mark this message as the answer.[/COLOR]](http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=288&threadid=1421566&ansmessid=5199790&ansuserid=306820&setanswer=y)  
[[COLOR=#0000ff]Print this message[/COLOR]](http://javascript%3Cb%3E%3C/b%3E:winopen('textthread.cfm?forumid=15&catid=288&threadid=1421566&filtmsgid=5199790','textformat','700','500');)

[[COLOR=#0000ff]Report this to a Moderator[/COLOR]](http://javascript%3Cb%3E%3C/b%3E:winopen('emailmoderator.cfm?forumid=15&threadid=1421566&catid=288&messid=5199790','emailmod',500,350);)
