[Flashcoders] hitTest unreliability

2009-04-29 Thread Mendelsohn, Michael
Hi list... [AS2] If I moderately rapidly move the mouse in and out of a ScrollPane component, a hitTest on movieclips contained within the ScrollPane won't always evaluate correctly. I can't figure out why it's so unreliable, working only about 65% of the time. The ScrollPane contains a

RE: [Flashcoders] hitTest unreliability

2009-04-29 Thread Paul Steven
- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn, Michael Sent: 29 April 2009 14:29 To: Flash Coders List Subject: [Flashcoders] hitTest unreliability Hi list... [AS2] If I moderately rapidly move the mouse in and out

Re: [Flashcoders] hitTest unreliability

2009-04-29 Thread allandt bik-elliott (thefieldcomic.com)
my guess is that you're actually passing over the whole clip you're hitTesting against in the time it takes for the frame to go by - you could try saving the previous mouseposition and the current mouseposition and then testing to see if the path between them crosses your clip On Wed, Apr 29,

RE: [Flashcoders] hitTest unreliability

2009-04-29 Thread Mendelsohn, Michael
Thanks for the responses. I think this is probably the solution because when I set the framerate to 1fps, it always errorred. Thanks - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com