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

Extra iteration in mx.effects::Effect/stop()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 3.4 (Release)
    • None
    • Effects
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Reviewing source for mx.effects::Effect/stop() in SDK 3.4.1.10084, lines 956-965:

      public function stop():void
      {
      var n:int = _instances.length;
      for (var i:int = n; i >= 0; i--)

      { var instance:IEffectInstance = IEffectInstance(_instances[i]); if (instance) instance.stop(); }

      }

      Isn't this doing an extra iteration in the beginning, due to "var n:int = _instances.length"?

      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: