# Winter is coming. Snow tutorial need an update?

**URL:** <https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512>\
**Category:** Uncategorized\
**Created:** [October 20, 2003, 3:06pm UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512 "2003-10-20T15:06:23Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)\
**Post date:** [October 20, 2003, 3:06pm UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512/1 "2003-10-20T15:06:23Z")

</div>

Im thinking yes

Biggest issue… snowfall not self contained. A lot of the questions about the snow is that it continues across scenes or they cant control elements that are to be above it as well as below or something to that effect.

Simplest solution is structuring the code so it will work in a movieclip and not off of root. I dont know offhand how its set up, but it shouldnt be hard (I remember there being a \_root reference or two that should be set to this or this.\_parent etc).

That and maybe a few other simple additions to answer common snow questions… the snow to bubbles question can easily be answered with “turn it upside down” when its contained in a clip as well.

just a thought 😉

ok I need to get back to work.

---

<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:** [October 20, 2003, 4:18pm UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512/2 "2003-10-20T16:18:44Z")

</div>

Getting it to work in a clip is simple, you can put everything inside the clip and change the \_root in the code and voila.

Great Idea Sen. It definitely should be done, I remember all the questions last year about that :hangover:

---

<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:** [October 21, 2003, 1:34am UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512/3 "2003-10-21T01:34:36Z")

</div>

I agree sen! I’ll get to work on the updated version soon :ogre:

---

<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:** [December 23, 2003, 11:58pm UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512/4 "2003-12-23T23:58:42Z")

</div>

Hey everyone!  
I think I have revised the tutorial to the way you all like it: [http://www.kirupa.com/developer/mx2004/snow.htm](http://www.kirupa.com/developer/mx2004/snow.htm) The effect is contained in its own cute little movie clip, and I figured I’d make it so that the snow’s direction changes depending upon where the movie clip is. The tutorial is not finished yet - I have to explain the code, but that should be done tomorrow :be:

Cheers!  
Kirupa 👽

EDIT: I’ll provide FLAs for FMX also.

EDIT2: Sen - since the snow’s direction changes according to the “wind”, I felt the waving effect would be unnecessary. If you think that effect would be neat, I could add that one line of code you mentioned in your above post.

---

<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:** [December 24, 2003, 12:48am UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512/5 "2003-12-24T00:48:28Z")

</div>

Nice effect, but onClipEvent (load)?? onClipEvent (enterFrame)??? :bad:

---

<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:** [December 24, 2003, 1:21am UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512/6 "2003-12-24T01:21:57Z")

</div>

> \*Originally posted by Ilyas da Pom \*  
> \*\*Nice effect, but onClipEvent (load)?? onClipEvent (enterFrame)??? :bad: \*\*  
> You got a problem with movie event handlers?

:bad:

---

<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:** [December 24, 2003, 1:55pm UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512/7 "2003-12-24T13:55:05Z")

</div>

> \*Originally posted by thoriphes \*  
> \*\*You got a problem with movie event handlers?

:bad: \*\*

I still use them in mx2004

---

<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:** [December 24, 2003, 5:29pm UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512/8 "2003-12-24T17:29:14Z")

</div>

:skull:

---

<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:** [December 24, 2003, 9:51pm UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512/9 "2003-12-24T21:51:55Z")

</div>

I would use the more OOPed MX2004 AS2 language, but I tend to go back to regular AS1. I feel more comfortable with it.

---

<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:** [December 25, 2003, 6:40pm UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512/10 "2003-12-25T18:40:14Z")

</div>

Sure, but we’re talking dynamic handlers here, not Advanced OOP 😛

---

<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:** [December 26, 2003, 1:54am UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512/11 "2003-12-26T01:54:50Z")

</div>

what if they don’t need to be dynamic? :-\ Why not. It saves the trouble of needing an instance name and if the clip/button is deleted, the code goes with it (preventing you to have to find and dispose of it manually)

---

<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:** [December 26, 2003, 10:56am UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512/12 "2003-12-26T10:56:13Z")

</div>

All right, you win, handlers don’t HAVE to be dynamic all the time 🙂 But I still think that in the current situation, dynamic handlers would be better 🙂

---

<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:** [December 29, 2003, 2:51pm UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512/13 "2003-12-29T14:51:29Z")

</div>

> \*Originally posted by Ilyas da Pom \*  
> \*\*But I still think that in the current situation, dynamic handlers would be better 🙂 \*\*

yeah yeah yeah :sure:

😃

---

<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:** [December 29, 2003, 4:11pm UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512/14 "2003-12-29T16:11:09Z")

</div>

And my dad said that they were better, and if my dad says it’s so, then it is, because my dad’s always right, and he can beat the hell out of you 😜

:sen: =\> :skull:

---

<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:** [December 29, 2003, 4:11pm UTC](https://forum.kirupa.com/t/winter-is-coming-snow-tutorial-need-an-update/33512/15 "2003-12-29T16:11:26Z")

</div>

Oh boy, I need some vacation… ☹
