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

The Application's scriptRecursionLimit property always returns 0.

    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 sample code below. Note that scriptRecursionLimit is set to 50.
      2. Click the button to trace the scriptRecursionLimit.

      Actual Results:
      It returns 0.

      Expected Results:
      To return the correct value.

      Workaround (if any):

      Code:
      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" scriptRecursionLimit="50">

      <mx:Script>
      <![CDATA[
      import mx.core.Application;
      import flash.display.Stage;

      private function getScriptRecursionLimit():void

      { trace("Application.application.scriptRecursionLimit: " + Application.application.scriptRecursionLimit); }

      ]]
      >
      </mx:Script>

      <mx:Button label="Get scriptRecursionLimit" click="getScriptRecursionLimit()" />

      </mx:Application>

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: