Skip to main content
February 12, 2009
Question

hitTestObject Question

  • February 12, 2009
  • 1 reply
  • 344 views
Hi,

I may be wrong but as far as I can understand it the hitTestObject() method checks to see whether the object is touching a specific instance of another object? Is there a method I can use where I can check to see if it is touching any Object of a specified class?

OR is there a method I can call where I can see if an Object of a specified class exists at a specific X and Y.

I am actually working in Flex using an Image component as opposed to using Flash.
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
February 12, 2009
you can test if the hit object is a member of a particular class.