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

spark.components.Group lacks containsElement function for operating on IVisualElement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Spark: Group
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Group has addElement(IVisualElement), removeElement(IVisualElement) and getElementIndex(IVisualElement) but has no containsElement(IVisualElement) function

      Expected Results:

      Expected such a function for determining if a group contains a particular element. I am not sure about whether contains(DisplayObject) works with these other functions.

      Workaround (if any):

      I wanted to use getElementIndex() as a replacement, but if the element is not contained, it throws an error rather than just return -1 like most array implementations.

      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: