Making a movie stop/fade out at a certain frame

I’m sure this is flash 101, but I’m hoping someone can help out. I’m using the code and assets from this page.

http://www.kirupa.com/developer/flash8/snow.htm

I’m creating ads for websites though and they don’t allow continual animation after 1 to 3 loops. What I’m hoping to do is one of the following:

Rather than have an abrupt stop to the snow on the last frame and have them oddly disappear, I’d like to have it stop creating snow on (for example) frame 100 so it’s all gone by the last frame (for example) 130.

I’m using flash 8, AS2.

Here is the code.

init = function () {
width = 300;
// pixels
height = 250;
// pixels
max_snowsize = 10;
// pixels
snowflakes = 50;
// quantity
for (i=0; i<snowflakes; i++) {
t = attachMovie(“snow”, “snow”+i, i);
t._alpha = 20+Math.random()60;
t._x = -(width/2)+Math.random()
(1.5width);
t._y = -(height/2)+Math.random()
(1.5height);
t._xscale = t._yscale=50+Math.random()
(max_snowsize10);
t.k = 1+Math.random()2;
t.wind = -1.5+Math.random()
(1.4
3);
t.onEnterFrame = mover;
}
};
mover = function() {
this._y += this.k;
this._x += this.wind;
if (this._y>height+10) {
this._y = -20;
}
if (this._x>width+20) {
this._x = -(width/2)+Math.random()(1.5width);
this._y = -20;
} else if (this._x<-20) {
this._x = -(width/2)+Math.random()(1.5width);
this._y = -20;
}
}
init();

On a side note, I have the AS code on frame 1 currently, and just to test it out I added a stop(); to the last frame, but the snow kept falling. Do I have to add code to this snow code to get it to stop at a certain frame? Not my overall goal, but curious.

Thanks!