Re: MouseEvent.clientX/Y

2022-12-12 Thread Alex Harui
Possibly because we started out targeting IE8.

I'd also check on how those values compare in different scrolling 
implementations in Flash.  There was a mask property in old MX components, and 
scrollRect in Spark components.  And then I think virtual scrolling might have 
worked slightly differently as well.

HTH,
-Alex

On 12/11/22, 9:14 AM, "Harbs" mailto:harbs.li...@gmail.com>> wrote:


EXTERNAL: Use caution when clicking on links or opening attachments.




Does anyone remember why were’s using clientX and clientY on the JS side of 
things?


Isn’t pageX and pageY usually the more accurate of the two when there’s page 
scrolling?


I’d think that the page values in JS corresponds to the client ones in Flash. 
unless I’m missing something…


Harbs





MouseEvent.clientX/Y

2022-12-11 Thread Harbs
Does anyone remember why were’s using clientX and clientY on the JS side of 
things?

Isn’t pageX and pageY usually the more accurate of the two when there’s page 
scrolling?

I’d think that the page values in JS corresponds to the client ones in Flash. 
unless I’m missing something…

Harbs