Hi, I have a volume controller with a simple play and stop button. I want music to start on its on when site is loaded, but music deosnt start unless play is pressed and volume is turned up.
Thia is the script I have, how do I change it simply to make to song start automatically when site loads???
onClipEvent (load) {
mySound = new Sound();
mySound.loadSound(“nachomp3.mp3”, false);
}
onClipEvent (enterFrame) {
downloaded = mySound.getBytesLoaded();
total = mySound.getBytesTotal();
if (downloaded != total) {
_root.dl = “downloading song…”;
} else {
complete = 1;
_root.dl = “”;
}
mySound.setVolume(_root.volume);
}