# Mouse coordinates issue in FF 3.6 on Mac OSX 10.6.3

**URL:** https://forum.kirupa.com/t/mouse-coordinates-issue-in-ff-3-6-on-mac-osx-10-6-3/310121
**Category:** flash
**Created:** [June 2, 2010, 8:34am UTC](https://forum.kirupa.com/t/mouse-coordinates-issue-in-ff-3-6-on-mac-osx-10-6-3/310121 "2010-06-02T08:34:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Tally\_Ho](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@Tally\_Ho](https://forum.kirupa.com/u/Tally_Ho)
#### Post date: [June 2, 2010, 8:34am UTC](https://forum.kirupa.com/t/mouse-coordinates-issue-in-ff-3-6-on-mac-osx-10-6-3/310121/1 "2010-06-02T08:34:37Z")

</div>

Hi.

I have encountered really bad problem in one of our Flex projects. For some reason Flash can’t get mouse coordinates properly. It returns something like (-107374182.4, -107374182.4) instead of good numbers. This happens when I’m using MOUSE\_MOVE event in FF 3.6 on Mac OSX 10.6.3 with Flash Player 10. I have drag-n-drop in this projects, so with such ugly huge coords object goes far out of stage. Can’t find solution in web, but there are some relative notes found…

For example, some [info](http://www.barklund.org/blog/2009/07/01/minor-change-in-handling-nan-positions-in-flash-player-10-0-22/) regarding 107374182.4 number can be found in internet.  
It seems 107374182.4 is something like NaN equivalent for some versions of Flash Player.

Also I have found some [notes](http://stackoverflow.com/questions/1168754/as3-startdrag-not-working-in-osx) regarding wrong mouse handling on Mac.  
The most interesting words there are: “on OSX it takes at least 1 frame to register the mouse’s position”. But it seems in my case it affects not only first frame after MOUSE\_DOWN fired.

Finally, there are [movie](http://www.youtube.com/watch?v=afj78iTRIew) on YouTube that demonstrates MOUSE\_MOVE bug on FF/Mac.

I have tried:

- to get MouseEvent.stageX, MouseEvent.stageY (problem encountered);
- to get DisplayObject.root.mouseX, DisplayObject.root.mouseY (problem still appear, coordinates are bad);
- to use startDrag, stopDrag (it looks bugged too);
- to embed SWF into HTML with different wmode values.  
Do anyone have the solution? 🙂 Or it’s better to inform user that his combination of browser and OS will not work properly with project?
