Archive

Posts Tagged ‘contains’

Spark equivalent of DisplayObjectContainer.contains()

December 1st, 2009 3 comments

In halo containers you could use the DisplayObjectContainer.contains() method to check if an element is a child, grandchild, great grandchild, … of a given container. This method might not always work as you expect when called on a spark container because not every element in a spark container is a DisplayObject.
Read more…