how do i stop it?
you send the playhead to another frame that doesnt have the snow on it.
i tried that…but it just keeps snowing…
lol, you mean you tell flash to go to another frame where there is no actionscript and no movieclip on the stage and theres STILLL snow??? i dunno bro, post that file, this could be flash history. hehehe.
ok…its the falling snow tutorial i used from kirupa…ill post it…but be warned…its not finished yet…so if the character might get stuck somewhere…

its only supposed to snow on the first frame…
it was origianlaly supposed to snow in the frame that was all snow…but it just kept snowing…so i just tossed it on the firts frame…
it seems you are using actionscript to duplicate snow flakes and animating them.
in the main flake movieclip, put a check for a global var
like _root.isSnowing
so if that is false, the flake will stop .
could you detail that a little better…i dont really know what i am doing…that does make sense…just how do i put it in my script…
I mentioned this on AIM, but for archival purposes I’ll post my suggestion. Try placing all of your code in an if statement that checks to see if you are on your first frame:
if (_root._currentframe ==1) {
everything else
}
here is what i have…
if (_root._currentframe ==1) {
onClipEvent (load) {
movieWidth = 300;
movieHeight = 200;
i = 1+Math.random()*2;
k = -Math.PI+Math.random()*Math.PI;
this._xscale = this._yscale=50+Math.random()*100;
this._alpha = 75+Math.random()*100;
this._x = -10+Math.random()*movieWidth;
this._y = -10+Math.random()*movieHeight;
}
onClipEvent (enterFrame) {
rad += (k/180)*Math.PI;
this._x -= Math.cos(rad);
this._y += i;
if (this._y>=movieHeight) {
this._y = -5;
}
if ((this._x>=movieWidth) || (this._x<=0)) {
this._x = -10+Math.random()*movieWidth;
this._y = -5;
}
}
}
here is the error message…
**Error** Scene=Scene 1, layer=bg...over, frame=3:Line 2: Statement must appear within on/onClipEvent handler
if (_root._currentframe ==1) {
and here is what i did…to get rid of the message…
and now the snow wont even fall…
onClipEvent (load) {
if (_root._currentframe ==1) {
//specifies the size of the movie stage
movieWidth = 300;
movieHeight = 200;
//variables that will modify the falling snow
i = 1+Math.random()*2;
k = -Math.PI+Math.random()*Math.PI;
//giving each snowflake unique characteristics
this._xscale = this._yscale=50+Math.random()*100;
this._alpha = 75+Math.random()*100;
this._x = -10+Math.random()*movieWidth;
this._y = -10+Math.random()*movieHeight;
}
//putting it all together
rad += (k/180)*Math.PI;
this._x -= Math.cos(rad);
this._y += i;
if (this._y>=movieHeight) {
this._y = -5;
}
if ((this._x>=movieWidth) || (this._x<=0)) {
this._x = -10+Math.random()*movieWidth;
this._y = -5;
}
}