# Help with adjusting snow effect code

**URL:** <https://forum.kirupa.com/t/help-with-adjusting-snow-effect-code/161986>\
**Category:** flash\
**Created:** [September 8, 2005, 6:45pm UTC](https://forum.kirupa.com/t/help-with-adjusting-snow-effect-code/161986 "2005-09-08T18:45:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hisham](https://avatars.discourse-cdn.com/v4/letter/h/f14d63/32.png) [@hisham](https://forum.kirupa.com/u/hisham)\
**Post date:** [September 8, 2005, 6:45pm UTC](https://forum.kirupa.com/t/help-with-adjusting-snow-effect-code/161986/1 "2005-09-08T18:45:06Z")

</div>

\*\*[size=2]i created a dot representing a snowball with instance name “snow”, with another layer named action where i kept the action code.  
\*\*[size=2]I need to create a snow effect, I got this code from this website:- for (k=0; k\<50; k++) {

duplicateMovieClip(\_root.snow, “snow”+k, k);

}

The problem is, i cant fit it into my 450x300 screen, its stays at 200x200, what do i have to do next to make it 450-300, any help is appreciated.

the link where i got the code from is here:- [http://www.kirupa.com/developer/mx/snow.htm](http://www.kirupa.com/developer/mx/snow.htm)

I just need to know how to make it fit my 450x300 screen.  
**[/size]**[/size]
