Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Run the code below. Note that it tries to get the value of the scriptTimeLimit property.
2. Click the button to trace the value.
Actual Results:
It returns NaN.
Expected Results:
The default of 60.
Workaround (if any):
Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >
<mx:Script>
<![CDATA[
import mx.core.Application;
private function getScriptTimeLimit():void
{ trace("scriptTimeLimit: " + Application.application.scriptTimeLimit); }]]
>
</mx:Script>
<mx:Button label="Get scriptTimeLimit" click="getScriptTimeLimit()" />
</mx:Application>