# Snow Bg....follow instrustions but still got pro..pls help me..doin a project

**URL:** <https://forum.kirupa.com/t/snow-bg-follow-instrustions-but-still-got-pro-pls-help-me-doin-a-project/149151>\
**Category:** flash\
**Created:** [May 26, 2005, 1:18pm UTC](https://forum.kirupa.com/t/snow-bg-follow-instrustions-but-still-got-pro-pls-help-me-doin-a-project/149151 "2005-05-26T13:18:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yozl](https://avatars.discourse-cdn.com/v4/letter/y/838e76/32.png) [@yozl](https://forum.kirupa.com/u/yozl)\
**Post date:** [May 26, 2005, 1:18pm UTC](https://forum.kirupa.com/t/snow-bg-follow-instrustions-but-still-got-pro-pls-help-me-doin-a-project/149151/1 "2005-05-26T13:18:19Z")

</div>

Problem faced(Pls help me…)

Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: Clip events are permitted only for movie clip instances  
onClipEvent (load) {  
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: Statement must appear within on/onClipEvent handler  
for (k=0; k\<100; k++) {

Actions for frame

onClipEvent (load) {  
//specifies the size of the movie stage  
movieWidth = 800;  
movieHeight = 600;

//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;  
}

Actions for snow

for (k=0; k\<100; k++) {  
duplicateMovieClip(this.snow, “snow”+k, k);  
}
