So I've been trying to create something in which I can control different track volumes individually, but I only seem to be able to control two.
and to reference to thatCode:q++; snd1 = new Sound(createEmptyMovieClip(["s"+q],getNextHighestDepth())); snd1.attachSound("s1"); snd1.start(0,1000); q++; snd2 = new Sound(createEmptyMovieClip(["s"+q],getNextHighestDepth())); snd2.attachSound("s2"); snd2.start(0,1000); q++; snd3 = new Sound(createEmptyMovieClip(["s"+q],getNextHighestDepth())); snd3.attachSound("s3"); snd3.start(0,1000);
I get two of the sounds silent, but one still continues to sound (I beleive it is sound3)Code:snd1.setVolume(0); snd2.setVolume(0); snd3.setVolume(0);
What am I doing wrong/what do I not know?
thanks
and just so you know, the only reason I haven't condensed any of this into a for loop is because I've just been too lazy.


Reply With Quote
