hitTestObjects

This function can be used to test a hit between a displayObject with an amount of displaysObjects (Array). It will return the displayObject where the biggest contact area occurred. Note: it uses the bounding boxes.

hittestobjects.swf

hittestobjects.zip

One Response to “hitTestObjects”

  1. Cédric Tabin Says:

    Hi,

    Yeah that’s cool ! I just released a (very) little API about Drag and Drop into a delimited area (that can be used on any possible area such as circles) : http://www.astorm.ch/blog/index.php?post/2008/03/23/Drag-limite-sur-une-zone.

    @++

Leave a Reply