Hi all
I am trying Kenny Bellew’s fade sound tutorial with no luck. I have been trawling threads for hours to see where I’m going wrong. Can anyone help? Here is the code…
music = new Sound(musicMc);
music.loadSound(“MP3s/feelGoodInc.mp3”, true);
musicVolume=0;
music.setVolume(musicVolume);
this.onEnterFrame = function () {
if (fadeIn01==1) {
_root.music.setVolume(musicVolume);
musicVolume=musicVolume+5;
if (musicVolume>99) {
fadeIn01=0;
}
}
}
I also want to then fade the sound to 7 at a certain point.
Help!