Give it a try hitTestObject. It evaluates the display object to see if it intersects or intersects with the displayed object obj.
for each(var yellow:DisplayObject in yelloDotsArray)
{
if(yellow.hitTestObject(theRed))
trace("this dot is within the limits");
else
trace("this dot is outside the red area");
}
source
share