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

Sequence.stop() does not stop active effect in queue

    XMLWordPrintableJSON

Details

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

    Description

      Flex SDK 4.1.0.14456

      Calling stop() on a Sequence composite effect does not stop the child effect which is currently being played.

      I tracked down the bug to SequenceInstance.stop(), where the variable 'currentInstances' is used even before it is declared. (Btw, why doesn't the compiler issue a warning here?)

      // Call stop on the currently playing set
      if (currentInstances)

      { var currentInstances:Array = queueCopy[currentSetIndex]; var currentCount:int = currentInstances.length; for (var i:int = 0; i < currentCount; i++) currentInstances[i].stop(); }

      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: