[Extendflash] Error Because JSFL script is running too long
Ryan Matsikas
rmatsikas at gmail.com
Wed Aug 17 10:56:05 PDT 2005
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/
>
> This e-mail (and any attachments) is confidential and may contain
> personal views which are not the views of the BBC unless specifically
> stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in
> reliance on it and notify the sender immediately. Please note that the
> BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
> http://www.bbc.co.uk/
>
> This e-mail (and any attachments) is confidential and may contain
> personal views which are not the views of the BBC unless specifically
> stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in
> reliance on it and notify the sender immediately. Please note that the
> BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
> _______________________________________________
> Extendflash mailing list
> Extendflash at flashguru.co.uk
> http://lists.flashguru.co.uk/mailman/listinfo/extendflash
>
>
>
More information about the Extendflash
mailing list