# Wierd slow down error?

**URL:** <https://forum.kirupa.com/t/wierd-slow-down-error/65149>\
**Category:** Uncategorized\
**Created:** [September 23, 2004, 12:03pm UTC](https://forum.kirupa.com/t/wierd-slow-down-error/65149 "2004-09-23T12:03:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arekaine](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@Arekaine](https://forum.kirupa.com/u/Arekaine)\
**Post date:** [September 23, 2004, 12:03pm UTC](https://forum.kirupa.com/t/wierd-slow-down-error/65149/1 "2004-09-23T12:03:57Z")

</div>

I did the falling snow tutorial. and when ever I tested it said that there was script in this movie that was making Flash run slowly, then asked me if I wanted to abadon the script.

I thought I had mistyped something. So to be sure I started over and copy and pasted all the script this time and still the same problem. I downloaded his finised fla file and it worked fine. Any suggestions?

---

<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:** [September 23, 2004, 12:30pm UTC](https://forum.kirupa.com/t/wierd-slow-down-error/65149/2 "2004-09-23T12:30:54Z")

</div>

Sounds like you have a ‘forever loop’ somewhere in your swf. Pay specific attention to the looping parts of your scripts.

---

<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:** [September 23, 2004, 1:00pm UTC](https://forum.kirupa.com/t/wierd-slow-down-error/65149/3 "2004-09-23T13:00:00Z")

</div>

> [@Arekaine](#):
>
> I did the falling snow tutorial. and when ever I tested it said that there was script in this movie that was making Flash run slowly, then asked me if I wanted to abadon the script.
> 
> I thought I had mistyped something. So to be sure I started over and copy and pasted all the script this time and still the same problem. I downloaded his finised fla file and it worked fine. Any suggestions?

Hi

Can we look at your code?? if not really a problem

* * *

aShIsH

---

<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:** [September 24, 2004, 7:21am UTC](https://forum.kirupa.com/t/wierd-slow-down-error/65149/4 "2004-09-24T07:21:23Z")

</div>

No prob. This is the code that is in the one little snow flake

onClipEvent (load) {  
//variables  
width = 300;  
height = 200;  
//random x,y, and alpha  
this.\_xscale = this.\_yscale=50+Math.random()_100;  
this.\_alpha = 20+Math.random()50;  
//random x and y for flakes  
this.\_x = -width+Math.random()(3_width);  
this.\_y = -10+Math.random()\*height;  
//speed and trigonometric value  
i = 1+Math.random()\*2;  
k = -Math.PI+Math.random()_Math.PI;  
rad = 0;  
}  
onClipEvent (enterFrame) {  
// horizontal movement  
rad += (k/180)Math.PI;  
xmovement = \_root.\_xmouse;  
this.\_x -= Math.cos(rad)+(xmovement-(width/2))/50;  
// vertical movement  
this.\_y += i;  
// remove clips when they misbehave (overstep boundaries)  
if (this.\_x\>(width+50)) {  
this.\_x = -45;  
this.\_y = Math.random()height2;  
}  
if (this.\_x\<-50) {  
this.\_x = width+45;  
this.\_y = Math.random()height2;  
}  
if (this.\_y\>=height) {  
this.\_y = -50;  
this.\_x = -width+Math.random()(3_width);  
}  
}

I understand about 30% of this script. But I don’t see any anything that would make it mess up the computer. But any help would be appreciated

---

<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:** [September 24, 2004, 10:59pm UTC](https://forum.kirupa.com/t/wierd-slow-down-error/65149/5 "2004-09-24T22:59:35Z")

</div>

Still need some help with this please

---

<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:** [September 25, 2004, 12:18am UTC](https://forum.kirupa.com/t/wierd-slow-down-error/65149/6 "2004-09-25T00:18:11Z")

</div>

Possibly your computer isn’t powerful enough :h:

---

<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:** [September 25, 2004, 8:25am UTC](https://forum.kirupa.com/t/wierd-slow-down-error/65149/7 "2004-09-25T08:25:35Z")

</div>

I thought that too. But when I downloaded the source file from the tutorial, It worked fine.
