The area drawn inside a UIComponent doesn't have to be rectangular, we just track everything by its bounding box.
If you drew a circle in there, it would only get mouse events on the pixels in the circle, anything below would get the events in the non-drawn area. However, there is a hitTestPoint method. ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of richmcgillicuddy Sent: Monday, June 30, 2008 7:20 AM To: [email protected] Subject: [flexcoders] Hittest for polygon UI Component I have a series of objects that extend a UI Component and I correctly draw a list of polypoints in the UIcomponent. I use the UIComponent for the tooltips, mouse events and some other stuff. My probably is that ultimately UIComponent is a rectangle. is there a different base component I should use or is there a way for me to do a hittest on mouse events to say whether the mouse is in/out of the component? Rich

