I have a song that plays on my site, with an on/off button. And the way the code is set up now is when you click “off” it turns off all sounds. I just put a video on my site, and now the song interferes with the video, so when you click ‘off’ on the song, it turns off all sounds, including the video. Of course all you have to do is re-start the video, but I’d rather have it set up so the code for the musicbox just turns off only the music.
Here’s the way it is now, on the off button:
stop();
stopAllSounds();
play_btn.onRelease = function(){
gotoAndStop(1);
}
I realize this is a very easy code change, but what’s frustrating is I don’t speak ‘actionscript’ so other than guessing, I don’t know always know the proper way to write it. These last few days have been like a person who’s in a foreign country and has a lot to say but can’t because they doesn’t speak the language!! :upset:
thanks!