Sound not loading

hi

i have a movie wich is loaded into level 26 and it has this code:

mySound = new Sound();
mySound.setVolume(70);
mySound.attachSound (“soundID”);
mySound.start (0, 9999);

this movie is loaded into level26 but the sound doesn´t play, if i play the movie standalone the sound plays

any help would be appreciated :wink:

gr000ve

[AS]mySound = new Sound(this);[/AS]
Try that…

thnxxxxx :beam:

sorry … can you explain why does it need the “this” ? :sure:

You’re welcome. :wink:

Since you didn’t specify a target MovieClip, when the attachSound method was being called, it was trying to find the sound in the library of the movie in _level0. Does that make any sense? :stuck_out_tongue:

nop… it doesn´t make any sense at all

thanx a lot for the explanation :wink:

…I thought so.

Sorry, I’m not good at explaining things. :stuck_out_tongue:

but i understood the explanation bro :wink: