[Extendflash] Error Because JSFL script is running too long

Barbara Snyder brsnyder at macromedia.com
Wed Aug 17 10:07:11 PDT 2005


Also, you might be interested to know that in Flash 8, there is a new
method - fl.showIdleMessage() - that lets you enable or disable this
warning. 

------------------------------------
Thanks -- Barbara 

-----Original Message-----
From: extendflash-bounces at flashguru.co.uk
[mailto:extendflash-bounces at flashguru.co.uk] On Behalf Of Ryan Matsikas
Sent: Wednesday, August 17, 2005 8:56 AM
To: extendflash at flashguru.co.uk
Subject: Re: [Extendflash] Error Because JSFL script is running too long

Also, if you are developing a panel and run into this issue you can use
a utility such as http://www.buraks.com/swfsli/ to increase the
time/recursion limit on that particular swf.

On 8/17/05, Nick Kaayk <Nick.Kaayk at bbc.co.uk> wrote:
>  
> FYI, and in reply to my own question here's a couple of ideas for 
> avoiding the "Error Because JSFL script is running too long".
>   
> 1 ) use a WindowSWF to trigger the JSFL.  Then you can use 
> setInterval, or some such, to get around the out-of-time problem; or
> 2 ) if you call JSFL from the command-line (like in a batch file on a 
> pc), then the code does not time-out 
> (http://www.actionscript.org/forums/archive/index.php3/t-49515.html).
>  Hooray!!!   
>   
>  
>  
> -----Original Message-----
> From: extendflash-bounces at flashguru.co.uk
> [mailto:extendflash-bounces at flashguru.co.uk] On Behalf Of Nick Kaayk
> Sent: 15 July 2005 11:32
> To: Extending Flash
> Subject: [Extendflash] setInterval?
> 
>  
> 
> Hello,
> 
> I am hitting "A script in the file my_file has been running for a long
time.
>  Do you want to continue?".  
> 
> I am running a nested loop to check all the elements in all the frames

> of all the timelines.  This is taking too long in big FLAs (hundreds 
> of items in the library). My loop is based upon the Search and Replace

> in "Extending Flash MX 2004".
> 
> Can I run an interval in JSFL, so as to (hopefully) avoid this? Or 
> does anyone have another suggestion for avoiding this "taking too
long" error?
> 
> Many thanks in advance,
> 
> Nick. 
> http://www.bbc.co.uk/


More information about the Extendflash mailing list