Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
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.