# Please help

**URL:** <https://forum.kirupa.com/t/please-help/14142>\
**Category:** Uncategorized\
**Created:** [February 22, 2003, 7:07am UTC](https://forum.kirupa.com/t/please-help/14142 "2003-02-22T07:07:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![matrixm5](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@matrixm5](https://forum.kirupa.com/u/matrixm5)\
**Post date:** [February 22, 2003, 7:07am UTC](https://forum.kirupa.com/t/please-help/14142/1 "2003-02-22T07:07:22Z")

</div>

Hi,

```
     I am trying to use the snow effect from Kirupa's Tutorial but only within the screen of a TV. Attached is the .fla if you want to see what is happening. The snow falls outside of the screen and when I look at the script there is no where I can set the starting co-ordinates of the snow. Even when I have been able to get the snow do fall within the range of the screen, you can still see it falling through the frame of the TV.

```

M.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 22, 2003, 7:33am UTC](https://forum.kirupa.com/t/please-help/14142/2 "2003-02-22T07:33:58Z")

</div>

I cheated a little and got it to work. I changed a lot of the code… In the begining, with the this.\_x and the this.\_y. Instead of using the movieWidth/movieHeight like they did, I put in the boundries of the TV:

this.\_x = 175+Math.random()\*165;  
this.\_y = 110+Math.random()\*115;

at the end, it resets \_x to -10 and \_y to -5. I got rid of all that and told it to just remove the movie clip if it breaks the boundry:

this.removeMovieClip();

And, you can add a loop to the ‘snow’ instance itself, but I just added a redundant gotoAndPlay(1); in the second frame so there is more snow on the screen.

All in all, I don’t really know what I’m doing, but I hope this gets you on track:
