Action Script Time out

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

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:


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);