RE: [flexcoders] Re: Hittest for polygon UI Component

2008-07-08 Thread Alex Harui
I would examine transform of any suspected property. It will show you its true pixel bounds. The width/height on UIComponent is set by its parent and you can draw outside those numbers. Maybe your drawing algorithm is pushing stuff outside the expected area

RE: [flexcoders] Re: Hittest for polygon UI Component

2008-07-08 Thread Alex Harui
The event.target and event.relatedObject of your mouse events are important, especially because localX/Y is relative to the event.target so you could just be reporting coordinates incorrectly. Verify your targets and position. Keep in mind that scaling can also affect the way graphics are draw

RE: [flexcoders] Re: Hittest for polygon UI Component

2008-07-01 Thread Alex Harui
Show some code. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of richmcgillicuddy Sent: Tuesday, July 01, 2008 2:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Hittest for polygon UI Component Could be the containers I