# Flash crashes every other time I test a certain movie?!

**URL:** <https://forum.kirupa.com/t/flash-crashes-every-other-time-i-test-a-certain-movie/61603>\
**Category:** flash\
**Created:** [August 19, 2004, 10:13pm UTC](https://forum.kirupa.com/t/flash-crashes-every-other-time-i-test-a-certain-movie/61603 "2004-08-19T22:13:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dunga](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@Dunga](https://forum.kirupa.com/u/Dunga)\
**Post date:** [August 19, 2004, 10:13pm UTC](https://forum.kirupa.com/t/flash-crashes-every-other-time-i-test-a-certain-movie/61603/1 "2004-08-19T22:13:42Z")

</div>

Ok… really really odd and annoying error. Almost every other time I test publish this file, it runs the file fine, I click the “x” to close it and go back to editing it. Almost every time I do this it crashes flash instantly (“flash has encountered an error and needs to close”).This only happens with one particular file- all it does is load data from a file, or rather a sequence of files.

```auto

this.createEmptyMovieClip("target_mc", this.getNextHighestDepth());
for(i=1;i<12;i++){
	loadVariables("myInfoUrl/?type="+i, target_mc);
}
function checkParamsLoaded() {
  if (target_mc.user_dob == undefined) {
    trace("not yet.");
  } else {
    trace("finished loading. killing interval.");
    trace("-------------");
    for (i in target_mc) {
	showVar += i+": "+target_mc*+"
";
    }
	trace(showVar);
    trace("-------------");
    clearInterval(param_interval);
  }
}
var param_interval = setInterval(checkParamsLoaded, 100);

```

---

<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:** [August 20, 2004, 8:36pm UTC](https://forum.kirupa.com/t/flash-crashes-every-other-time-i-test-a-certain-movie/61603/2 "2004-08-20T20:36:22Z")

</div>

Meh… nobody has an answer?

---

<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:** [August 22, 2004, 8:48pm UTC](https://forum.kirupa.com/t/flash-crashes-every-other-time-i-test-a-certain-movie/61603/3 "2004-08-22T20:48:00Z")

</div>

I had a problem like that too. I was working on a game and once I tried to delete about thirty frames on ten layers it crashed. I think it is caused by you RAM, like when you play a game like DOOM 3 and it lags or even freezes, it’s due to your RAM

---

<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:** [August 23, 2004, 5:44am UTC](https://forum.kirupa.com/t/flash-crashes-every-other-time-i-test-a-certain-movie/61603/4 "2004-08-23T05:44:14Z")

</div>

Well its not a large script, I have loads of RAM…
