I follow kirupa volume slider tutorial
and place it on my timeline
and i got a problem, the sound [bgm] only play once
even i already write down start(0,99);
here my script
in timeline
{
if (_root.musicpreloader.complete == 1) {
_root.musicpreloader.mySound.attachSound(“bgm.mp3”);
_root.musicpreloader.mySound.start(0,999);
}
}
**in empty mc
**
onClipEvent (load) {
mySound = new Sound(soundmc);
mySound.loadSound(“bgm.mp3”, true);
mySound.setVolume(25);
}
onClipEvent (enterFrame) {
downloaded = mySound.getBytesLoaded();
total = mySound.getBytesTotal();
if (downloaded != total) {
_root.dl = “D/L song…”;
} else {
complete = 1;
_root.dl = “Now Playing…”;
}
}
this code all in frame one
is stop(); script on a frame 2 make the sound un-loopable ?
i using digital clock + date script too
please help and thanks before ^^