timelinefx:timelinefx.tlQuadTree.ForEachObjectInArea
Method ForEachObjectInArea:Void( x:Float, y:Float, w:Float, h:Float, Data:@object, onFoundObject:Void( @object,@object ), Layer:Int[] )
Query the Quadtree to find objects with an area When you want to find objects within a particular area of the quadtree you can use this method. Pass the area coordinates and dimensions that you want to check, an object that can be anything that you want to pass through to the callback function, and the function callback that you want to perform whatever tasks you need on the objects that are found within the area. The callback function you create needs to have 2 parameters: ReturnedObject:object which will be the tlBox/circle/poly, and Data:object which can be and object you want to pass through to the call back function.
Parameters
x x coordinate of area
y y coordinate of area
w Width of the area
h Height of the area
Data any object object to pass to the query
onFoundObject A function pointer to function where you can perform whatever tasks you need to with the objects found.
Layer Array of layers in the quadtree that you want to search