AS2 Independent volume control of sound object and streaming audio
I've got a presentation that features an audio loop for background music and streaming audio on the timeline for the voice over.
When I try to lower the volume of the background music (sound object), it also effects the voice over (streaming).
I'm a total novice, so try to use laymen's terms ![]()
This is on Frame 1:
snd = new Sound(myLoopMC);
snd.attachSound("myLoop01");
onLoad = function () {
snd.start(0,5);
};
n = 0;
snd.setVolume(n);
And this is on the Frame that contains the movieclip with the voice over. I'm trying to fade the background music ONLY:
onEnterFrame = function () {
n += -1;
if (n<=10) {
n = 10;
}
snd.setVolume(n);
};
stop();