Weather Problems

Thanks to LoungeActx, I figured out how to create a button for the falling snow effect in my project. My final code ended up being

on (release) {
for (k=0; k<8; k++) {
duplicateMovieClip(_root.snow, “Snow”+k, k);
}
}

Simple huh?! Well, now that I have a button to turn it on, I can’t figure out how to turn it off. Could someone advise me on how to control my weather problems?

This is in Flash MX btw.

Thanks! :cyclops: :cyclops: :cyclops:

on(release){
     for (k=0; k<8; k++) { 
          _root["Snow"+k].removeMovieClip();
     }
}

should work…