# Action Script Time out

**URL:** https://forum.kirupa.com/t/action-script-time-out/28308
**Category:** flash
**Created:** [August 12, 2003, 2:02pm UTC](https://forum.kirupa.com/t/action-script-time-out/28308 "2003-08-12T14:02:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![wadoodahmed](https://avatars.discourse-cdn.com/v4/letter/w/b487fb/32.png) [@wadoodahmed](https://forum.kirupa.com/u/wadoodahmed)
#### Post date: [August 12, 2003, 2:02pm UTC](https://forum.kirupa.com/t/action-script-time-out/28308/1 "2003-08-12T14:02:01Z")

</div>

Hi fellows I am in deep deep \*\*\*\* as you must know that flash throws this alert which says “A Script in the movie is causing Macromedia Flash player 6 to run slowly. If it continues to run, your computer may may become unresponsive. Do you want t abort the script”.  
now this alert pops up after 15 seconds of processing tell me is there any way by which I could some how increase that time dont tell me to use setInterval() cuz I already did and it did not help a gr8 deal. plz plz plz get some thing there has to be some property which could help me handle this problem.  
Wadood

---

<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 12, 2003, 2:07pm UTC](https://forum.kirupa.com/t/action-script-time-out/28308/2 "2003-08-12T14:07:28Z")

</div>

No, that feature is a built in safety feature to stop the flash player from becoming unresponsive.

To help you could try rewriting your for/while loops as timeline or onEnterFrame loops.

for example:

```auto

for(var i = 0; i < 350; i++){
trace(i);
}
//can be rewritten as:

//code on frame 1
if(!i){
i = 0
}
trace(i);
i++;
//code on frame 2
if(i < 350) gotoAndPlay(1);

```
