# Script causes dead player

**URL:** <https://forum.kirupa.com/t/script-causes-dead-player/11149>\
**Category:** Uncategorized\
**Created:** [January 13, 2003, 5:46am UTC](https://forum.kirupa.com/t/script-causes-dead-player/11149 "2003-01-13T05:46:31Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![slikspic](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@slikspic](https://forum.kirupa.com/u/slikspic)\
**Post date:** [January 13, 2003, 5:46am UTC](https://forum.kirupa.com/t/script-causes-dead-player/11149/1 "2003-01-13T05:46:31Z")

</div>

:trout:

i made this movieclip using kirupa’s snow script. I haven’t modified anything accept for the movie size paths. Why am i getting an error saying that the script will cause my computer to become unresponsive?

here’s the movie

[http://www.geocities.com/dlover612/1.swf](http://www.geocities.com/dlover612/1.swf)

and here’s the fla

[http://www.geocities.com/dlover612/1.fla](http://www.geocities.com/dlover612/1.fla)

any ideas?:q: :hat: I:-) ;( :pirate: :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:** [January 13, 2003, 5:51am UTC](https://forum.kirupa.com/t/script-causes-dead-player/11149/2 "2003-01-13T05:51:06Z")

</div>

I get an Unexpected File Format error when opening your file (I run MX).

It seems to me that you don’t have a stop() action at the end of your movie, so your movie keeps looping over the script and running it over and over.

That is just going by looks though.

---

<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:** [January 13, 2003, 5:53am UTC](https://forum.kirupa.com/t/script-causes-dead-player/11149/3 "2003-01-13T05:53:49Z")

</div>

i do though. i have stop ctions on all the correct frames. I’m using MX too. but for some strang reason this snow thing just isn’t responding correctly.  
i want it to fit nicely in here:

> **[Yahoo Small Business - Cheap Domains, Web Hosting, Website Builder, Ecommerce...](https://smallbusiness.yahoo.com/)**
>
> Yahoo Small Business Offers Cheap Domain Names, Web Hosting, Easy Website Builder, Business Email, Local Listings, and Ecommerce Solutions for Your Small Business.

i’m about to can the whole snow thing.

---

<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:** [January 13, 2003, 6:27am UTC](https://forum.kirupa.com/t/script-causes-dead-player/11149/4 "2003-01-13T06:27:04Z")

</div>

well i fixed it. seems like there’s a problem with kirupa’s code for the first fram of the snow movie clip, i just deleted the code altogether and duplicated the MC on my own, now it works like a charm check it out.

> **[Yahoo Small Business - Cheap Domains, Web Hosting, Website Builder, Ecommerce...](https://smallbusiness.yahoo.com/)**
>
> Yahoo Small Business Offers Cheap Domain Names, Web Hosting, Easy Website Builder, Business Email, Local Listings, and Ecommerce Solutions for Your Small Business.

C:-)

---

<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:** [January 13, 2003, 6:28am UTC](https://forum.kirupa.com/t/script-causes-dead-player/11149/5 "2003-01-13T06:28:33Z")

</div>

Hmmmm. Odd.

The script works fine for me copied and pasted.

But at least you got it working 🙂

---

<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:** [January 13, 2003, 6:32am UTC](https://forum.kirupa.com/t/script-causes-dead-player/11149/6 "2003-01-13T06:32:55Z")

</div>

you think you can check out my level hierarchy post and see where i went wrong there? i think i put the code that senocular told me to put in all the right places but still no go. me confused again

:pirate:

---

<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:** [January 13, 2003, 6:39am UTC](https://forum.kirupa.com/t/script-causes-dead-player/11149/7 "2003-01-13T06:39:24Z")

</div>

You are probably better off sticking with senocular on that one.

He has been going through this with you the whole time so knows exactly whats going on. And he is an excellent scripter and explainer.

---

<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:** [January 13, 2003, 6:42am UTC](https://forum.kirupa.com/t/script-causes-dead-player/11149/8 "2003-01-13T06:42:27Z")

</div>

actionscript is so confusing. why can’t it be as easy as photoshop or illustrator? Why can’t i just type. do this, do that, make my car go super fast, go to work for me and collect my paycheck? i mean is that too much to ask? LOL:trout:

---

<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:** [January 13, 2003, 6:55am UTC](https://forum.kirupa.com/t/script-causes-dead-player/11149/9 "2003-01-13T06:55:41Z")

</div>

LOL, AS is a whole language. Did you just go into Spanish class (or whichever language class you had in school) and learn it the first day? Nope, you gotta spend lots and lots of time studying and practicing 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:** [January 13, 2003, 7:10am UTC](https://forum.kirupa.com/t/script-causes-dead-player/11149/10 "2003-01-13T07:10:14Z")

</div>

actually, once you get used to the terms and language, it WILL be like writing sentences!!  
explain it fer me lost…i’m too lazy to type…read my mind for me: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:** [January 13, 2003, 7:15am UTC](https://forum.kirupa.com/t/script-causes-dead-player/11149/11 "2003-01-13T07:15:08Z")

</div>

if (Makaveli == noSense) {  
delete Makaveli;  
} else {  
Surprise = true;  
};

Like that?

---

<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:** [January 13, 2003, 7:18am UTC](https://forum.kirupa.com/t/script-causes-dead-player/11149/12 "2003-01-13T07:18:01Z")

</div>

no you should have given the sentence in enlgish then convert to actionscript

if (Makaveli doesn’t make sense) {  
delete Makaveli;  
} otherwise {  
Surprise = true;  
};

wait a minute…this doens’t make any sense

if (Makaveli == noSense) {  
delete Makaveli;  
} else {  
Surprise = true;  
};

i’m lost…
