Hello, i got this code that should load a sound and slowly raise the volume for that sound. However, instead of just affecting one sound, it affects all the sounds in my movie, causing all of them to be low at first.
var bgSound, bgSoundvol;
bgSound = new sound();
bgSound.attachSound(“bgsound1”);
bgSound.start(0, 1000);
bgSound.setVolume(0);
this.onEnterFrame = function() {
if (bgSoundvol>=100) {
this.onEnterFrame = null;
}
bgSoundvol = bgsoundvol+5;
bgSound.setVolume(bgSoundvol);
};
it shouldn’t jsut add what i did in the brackets and test it. I’m sure it will localize the changes to jsut that sound. I believe u dont’ even have to create the MC on the stage. jsut add that ot your code. IF stilla problem then Create a MC with that instance name on the stage.