Creating snowflakes in AS2 and placed them behind a mc

Hi there,

I am new in this forum, so first things first. Hello to everybody.

I am using a code downloded here in Kirupa, this code makes snowflakes, but place them in front of every layer.

I have to show a mc in front of the snow and I don´t know how to write it in the code below.

If anyone can help me out, I will really apreciate it. Thanks a lot

Fede

Here is the code

w = Stage.width;
h = Stage.height + 100;
max_snowsize = 15;
snowflakes = 200;

init = function ()
{
for( i = 0; i < snowflakes; i++ )
{
t = attachMovie(“snow”, “snow”+i, i);
t._alpha = 50 + Math.random()50;
t._x = -(w
0.5) + Math.random()(1.5w);
t._y = -(h0.5) + Math.random()(1.5h);
t._xscale = t._yscale = 50 + Math.random()
(max_snowsize10);
t.k = Math.random()1.5 + 1;
t.wind = Math.random()3.5 - 1.5;
t.onEnterFrame = mover;
}
}
mover = function ()
{
this._y += this.k;
this._x += this.wind;
if(this._y > h+10)
{
this._y = -20;
}
if(this._x > w+20)
{
this._x = -(w
0.5) + Math.random()
(1.5
w);
this._y = -20;
}
else if(this._x < -20)
{
this._x = -(w0.5) + Math.random()(1.5*w);
this._y = -20;
}
}
init();