Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-15388

Getting the scriptTimeLimit property from an application always returns NaN.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • mx: Application
    • 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>

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment