Hi there,
I've downloaded a really nice snow effect: http://www.swishzone.com/index.php?a...d&link_id=1549
I'm really new to swish / action script to sorry if this is simple.
But, that movie is designed on a stage of 150 x 240
My stage is 1024 x 1280
Now, when i change some numbers in the script, i appear to get it covering the stage - but the snow flakes start all over the place (not at the top) and don't fall to the bottom - they only fall for about 100 px ??
This is the code that is attached to the snowflake MC.
Any help would be greatCode:onSelfEvent (load) { i = 1+Math.random()*2; k = -Math.PI+Math.random()*Math.PI; _xscale = _yscale=50+Math.random()*100; _alpha = 100+Math.random()*100; _x = -10+Math.random()*250; _y = -10+Math.random()*150; } onSelfEvent (enterFrame, includingFirstFrame) { _y += i; if (_y>=150) { _y = -5; } if ((_x>=250) || (_x<=0)) { _x = -10+Math.random()*250; _y = -5; } }
Neil



Reply With Quote