# Problems with loading swf-files sounds into new levels

**URL:** <https://forum.kirupa.com/t/problems-with-loading-swf-files-sounds-into-new-levels/11867>\
**Category:** Uncategorized\
**Created:** [January 23, 2003, 2:06pm UTC](https://forum.kirupa.com/t/problems-with-loading-swf-files-sounds-into-new-levels/11867 "2003-01-23T14:06:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PUt440](https://avatars.discourse-cdn.com/v4/letter/p/49beb7/32.png) [@PUt440](https://forum.kirupa.com/u/PUt440)\
**Post date:** [January 23, 2003, 2:06pm UTC](https://forum.kirupa.com/t/problems-with-loading-swf-files-sounds-into-new-levels/11867/1 "2003-01-23T14:06:32Z")

</div>

Hi!

I have a problem, when a load a swf with a sound inside into level11… The fist time everything works fine, but when i load a new file into level11 sometimes (maby one of ten) the sound dosn’t start att all…

Code of the swf:  
\_root.oSound = new Sound("\_level11");  
\_root.oSound.attachSound(“s”);

And i use:  
\_level11.onLoad = startMusic(11);

function startMusic(id) {  
\_root[“level” + id].oSound.start(0, 999);  
}

(Maby some misspelling in the code i didn’t copy it…)

Anyone got an idea?

---

<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:** [January 23, 2003, 5:38pm UTC](https://forum.kirupa.com/t/problems-with-loading-swf-files-sounds-into-new-levels/11867/2 "2003-01-23T17:38:14Z")

</div>

Not sure that I’m understanding you properly but if you have sound on level 11, then you load another movie on level 11, the second movie will over right the first movie.
