PDA

View Full Version : flash script timeout error


kmeixner
06-21-2010, 10:17 AM
Hi,

Is there a way to set a higher tolerance before the Flash Script Timeout error pops up in OpenLaszlo 4.7.2 SWF8?

For unknown reasons our client has complained that this error is now popping up starting today when they load the application although the code they are using has not been altered for weeks.

I found a thread here that suggests there is some kind of setting in OL 4.7.x that allows this to be adjusted:

http://forum.openlaszlo.org/showthread.php?t=12395&highlight=timeout

I can't find any attribute on the canvas tag to set this value however. All I can find is medialoadtimeout, mediaerrortimeout and dataloadtimeout which don't seem to solve the problem.

Thanks,

Kevin

ptw
06-22-2010, 05:56 AM
You're looking for the (apparently undocumented) <canvas>/scriptlimits attribute:

http://www.antunkarlovac.com/blog/2008/02/22/scriptlimits-attribute/

kmeixner
06-22-2010, 08:10 AM
You're looking for the (apparently undocumented) <canvas>/scriptlimits attribute:

http://www.antunkarlovac.com/blog/2008/02/22/scriptlimits-attribute/

Thanks Ptw,

That solved my problem.

I created a Jira to hopefully have it added to the documentation: http://jira.openlaszlo.org/jira/browse/LPP-9139

Kevin