# Falling Snow Tutorial \[edited title\]

**URL:** <https://forum.kirupa.com/t/falling-snow-tutorial-edited-title/57758>\
**Category:** flash\
**Created:** [July 15, 2004, 10:05pm UTC](https://forum.kirupa.com/t/falling-snow-tutorial-edited-title/57758 "2004-07-15T22:05:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dudeman](https://avatars.discourse-cdn.com/v4/letter/d/35a633/32.png) [@dudeman](https://forum.kirupa.com/u/dudeman)\
**Post date:** [July 15, 2004, 10:05pm UTC](https://forum.kirupa.com/t/falling-snow-tutorial-edited-title/57758/1 "2004-07-15T22:05:33Z")

</div>

I think it must be something chemical, because every september’ish time, I get these weird cravings for flash and integration :stunned:

Okay, regarding Kirupa’s tutorial on falling snow : [kirupa.com - Create Falling Snow](http://www.kirupa.com/developer/mx/snow2.htm)

How is it possible for this script to work reverse, kind of like bubbles?

I tried switching :

```auto

onClipEvent (enterFrame) {
	//putting it all together
	rad += (k/180)*Math.PI;
	**this._x [COLOR=Red]+[/COLOR]= Math.cos(rad);**
	**this._y [COLOR=Red]-[/COLOR]= i;**
	if (this._y>=movieHeight) {
		this._y = -5;
	}
	if ((this._x>=movieWidth) || (this._x<=0)) {
		this._x = -10+Math.random()*movieWidth;
		this._y = -5;
	}
}

```

and I still didn’t get it to work properly… I got it to flip form right side up to up side down, but the movie height and width limiters are senseless.

The original code was

```auto
**this._x [COLOR=Red]-[/COLOR]= Math.cos(rad);**
**this._y [COLOR=Red]+[/COLOR]= i;**

```

See if you can help me, I haven’t been doing real flash for a whole year or more(mx changed to hax0r mode, no more newbie input mode 😊 )!

---

<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:** [July 15, 2004, 10:51pm UTC](https://forum.kirupa.com/t/falling-snow-tutorial-edited-title/57758/2 "2004-07-15T22:51:07Z")

</div>

[http://www.kirupaforum.com/forums/showthread.php?t=50213&](http://www.kirupaforum.com/forums/showthread.php?t=50213&)  
And please use meaningful titles for your threads next time.

---

<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:** [July 16, 2004, 4:43pm UTC](https://forum.kirupa.com/t/falling-snow-tutorial-edited-title/57758/3 "2004-07-16T16:43:26Z")

</div>

;/

thanks…

---

<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:** [July 16, 2004, 7:44pm UTC](https://forum.kirupa.com/t/falling-snow-tutorial-edited-title/57758/4 "2004-07-16T19:44:39Z")

</div>

Welcome 🙂
