//Creating an empty movieclip to attach the clip from library _root.createEmptyMovieClip("holder",this.getNextHighestDepth()); //settig variables holder.maxdrops=30;//no of drops var downspeed=15;//speed of the drops var dropslop=10;//slop of the drops //Part 1 attaching the clips with loop for(i=0;i=Stage.height+20){ focuseddrop._y=random(30); focuseddrop._x=random(Stage.width); } } }