2.1 b2world.queryPoint()

really enjoying 2.1...much imiproved over prior version, but can someone provide quick example of how to use b2world.queryPoint() and the call back function. I searched around but wasn't able to find any examples.
to answer my own question, i apparently just needed to look in the some of the examples provided...I ended up needing to use b2World.QueryAABB()...and thought I might as well post the code in case others, like myself, search the forum for answers to this.


Code:
   function isClosest(fixture:b2Fixture):boolean
      {
   
return true;//if want to continue querying
      }

   myB2World.QueryAABB(isClosest, aabb);
there is an example of use in TestBed/Test.as as well. (QueryAABB example)

*the wck port has a QueryPoint example in the same place.

Original thread: https://box2d.org/forum/viewtopic.php?t=4967