Hello,
I’m sure this question was covered before, please forgive me if so.
I’ve created a flash movie that loads content into seperate layers. One of these layers is called music.swf and contains sound in the library. I’ve created a stop and start button and have attached the sounds to these with the following script:
mySound_sound = new Sound ();
mySound_sound.attachSound(“setemID”);
startButton_btn.onRelease = function (){
mySound_sound.stop();
mySound_sound.start();
};
stopButton_btn.onRelease = function (){
mySound_sound.stop();
};
mySound_sound2 = new Sound ();
mySound_sound2.attachSound(“didID”);
startButton2_btn.onRelease = function (){
mySound_sound2.stop();
mySound_sound2.start();
};
stopButton2_btn.onRelease = function (){
mySound_sound2.stop();
};
this is all working perfectly. However when I load this music.swf into my main movie (into a layer) it no longer plays the songs.
I’m a bit thick at the 'ol actionscript so if you can find the time to give us a hand it would be really appreciated.
many thanks