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: 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: 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.
|
Title: FlashPlayer 8 beta and scriptTimeLimit
- RE: [flexcoders] FlashPlayer 8 beta and scriptTimeLimit Tracy Spratt