# \[flash 8\] please help to convert this

**URL:** <https://forum.kirupa.com/t/flash-8-please-help-to-convert-this/302224>\
**Category:** Uncategorized\
**Created:** [December 23, 2009, 6:59pm UTC](https://forum.kirupa.com/t/flash-8-please-help-to-convert-this/302224 "2009-12-23T18:59:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wchinthaka](https://avatars.discourse-cdn.com/v4/letter/w/9fc29f/32.png) [@wchinthaka](https://forum.kirupa.com/u/wchinthaka)\
**Post date:** [December 23, 2009, 6:59pm UTC](https://forum.kirupa.com/t/flash-8-please-help-to-convert-this/302224/1 "2009-12-23T18:59:37Z")

</div>

I want to make a raining effect in flash 8. I found a flash 5 file from internet. but it does not work in flash 8.  
The code is  
**\_root**  
[COLOR=SeaGreen]_Frame 1 Code:_[/COLOR]

```auto
dropcnt = 1;

```

[COLOR=SeaGreen]_Frame 2 Code:_[/COLOR]

```auto
dropbreed = int(random(2));
if (Number(dropbreed) == 1) {
    dropcnt = Number(dropcnt)+1;
    duplicateMovieClip("/all", "all" add dropcnt, dropcnt);
    setProperty("/all" add dropcnt, _x, random(400));
    setProperty("/all" add dropcnt, _y, Number((random(50)))+150);
}
if (Number(dropcnt)>500) {
    dropcnt = 1;
}

```

[COLOR=SeaGreen]_Frame 3 code:_[/COLOR]

```auto
gotoAndPlay(2);

```

**movie clip named "all"**

[COLOR=SeaGreen]_frame 1 Code:_[/COLOR]

```auto
delay = 1;

```

[COLOR=SeaGreen]_Frame 15 code:_[/COLOR]

```auto
riplcnt = 1;
ripltime = 1;

```

[COLOR=SeaGreen]_Frame 16 Code:_[/COLOR]

```auto
ripltime = Number(ripltime)+1;
breed = int(random(10));
if (Number(breed) == 1) {
    riplcnt = Number(riplcnt)+1;
    duplicateMovieClip("ripple", "ripple" add riplcnt, Number(riplcnt)+Number(/:dropcnt));
}
if (Number(ripltime)>=10) {
    gotoAndStop(18);
}

```

[COLOR=SeaGreen]  
_Frame 17 Code:_[/COLOR]

```auto
gotoAndPlay(16);

```

[COLOR=SeaGreen]_Frame 18 Code:_[/COLOR]

```auto
delay = Number(delay)+1;

```

[COLOR=SeaGreen]_Frame 19 Code:_[/COLOR]

```auto
if (Number(delay)<30) {
    gotoAndPlay(18);
} else {
    gotoAndStop(20);
}

```

[COLOR=SeaGreen]_Frame 20 Code:_[/COLOR]

```auto
removeMovieClip("");
stop();

```

[SIZE=4][COLOR=Red]

[/COLOR][/SIZE][SIZE=4][COLOR=Red]if can please help me… to make a raining effect.C:-)[/COLOR][/SIZE]
