For some reason this works by itself, but when loaded into another movie via loadMovie, it stops working. Can someone please help troubleshoot this?
stop();
onRollOver = function() {
this.onEnterFrame = function() {
nextFrame();
};
if (soundOn != true) {
descSound = new Sound();
descSound.attachSound("weTrySND");
myVolume = 100;
descSound.setVolume(myVolume);
descSound.start();
soundOn = true;
}
};
onRollOut = function() {
this.onEnterFrame = function() {
prevFrame();
descSound.setVolume(myVolume);
myVolume = myVolume-5;
if (myVolume<5) {
descSound.stop();
soundOn = false;
}
};
};