Title: FlashPlayer 8 beta and scriptTimeLimit
Thanks Tracy,
 
I will get back to you.
 
-abdul


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt
Sent: Wednesday, August 03, 2005 2:31 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FlashPlayer 8 beta and scriptTimeLimit

Below is an app that uses a loop to cause the scriptTimeLimit timeout.  The limit is set at 600, which should be about ten minutes.  Under FP7 this works fine, but under FP8 it still times out at a minute.

 

Note that settings smaller than the default 60 work correctly.

 

Also, this app will crash my browser.

Set the time limit to something small like 15

At the prompt select abort

Refresh the browser

Click the loop script button

 

On my system the browser “disappears”

 

<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"

                         scriptTimeLimit="600"

                         backgroundColor="#FFFFFF"

             horizontalAlign="left" width="400" height="400">

<mx:Script><![CDATA[

 

            private function testTimeout():Void

            {

                        var iNum:Number = 0;

                        for ( var i:Number=0; i<1000000000000; i++ )  {

                                    iNum += i;

                        }//for ( var i:Number=0;....

            alert("DONE: " + iNum)

            }

]]></mx:Script>

 

<mx:Label text="scriptTimeLimit is set to 600" />

<mx:Button label="testTimeout" click="testTimeout()"/>

 

</mx:Application>

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul Qabiz
Sent: Monday, August 01, 2005 11:21 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FlashPlayer 8 beta and scriptTimeLimit

 

Tracy,

 

Can you please create a sample mxml file reproducing this case? I will also try to reproduce at my end and co-ordinate Flash Player team to get it fixed.

 

Thanks

 

-abdul

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Thursday, July 28, 2005 11:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FlashPlayer 8 beta and scriptTimeLimit

FP8 seems to not be honoring my ScriptTimeLimit setting.  Same SWF, probably even locally cached, since I just installed the player, then restarted my app.

I will see if anything changes this behavior.

BTW, it appears to be about 30% faster on this ridiculously intense AS process.

Tracy




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to