Well in most of my games i set up the game so that there is a little music menu in the bottum/top left/right of the sceen. to do this i make a layer on top of all other layers and put in a box and 3 buttons, then put in this exact code:
mysound = new Sound();
mysound.attachSound("~example~");
playsound.onRelease = function() {
mysound.stop();
waffle.stop();
mysound.start();
}
stopsound.onRelease = function() {
mySound.stop();
waffle.stop();
}
mysound2 = new Sound();
mysound2.attachSound("~example2~")
soundstart2.onRelease = function() {
mysound2.stop();
mysound.stop();
waffle.start();
}
then after i finish that long code i go to each song and then copy the linkage name and paste it into where it says "~example~" or where it says "~example2~"
This works perfectly on a normal submitting to a website, even testing it on my computer but once I submit it to "Moci Ads" the music stops playing!
I use the file "Mochi ads" gives me and i can submit that practically anywhere but it doesn't play sound! how do I fix this?
Pleas Help!
I had a problem like that... i think the swf file was either uploaded wrong or the swf file needs to be updated manually... delete the swf file you have and then test the movie... this will make a new swf file that will be up to date. Then simply try that one...