# Problems with \_xmouse and \_ymouse in FF when scaling window

**URL:** https://forum.kirupa.com/t/problems-with--xmouse-and--ymouse-in-ff-when-scaling-window/230427
**Category:** flash
**Created:** [June 26, 2007, 6:33am UTC](https://forum.kirupa.com/t/problems-with--xmouse-and--ymouse-in-ff-when-scaling-window/230427 "2007-06-26T06:33:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![qhrome27](https://avatars.discourse-cdn.com/v4/letter/q/f04885/32.png) [@qhrome27](https://forum.kirupa.com/u/qhrome27)
#### Post date: [June 26, 2007, 6:33am UTC](https://forum.kirupa.com/t/problems-with--xmouse-and--ymouse-in-ff-when-scaling-window/230427/1 "2007-06-26T06:33:50Z")

</div>

Hello,

I am trying to have a large flash movie inside a scalable window, where the window is smaller than the flash movie. The window scales, but the Flash does not.

You can see an example here:  
[http://myflashdesign.net/dev/mouseCoordTest.html](http://myflashdesign.net/dev/mouseCoordTest.html)

The movie is 2000x1200. Notice the \_root.\_xmouse and \_root.\_ymouse I have displayed in the upper left corner. In Internet Explorer, the top left corner is always 0,0. In Firefox, if I scale the window, the upper left corner is no longer 0,0 and is dependent on the size of the window.

I am wondering is there a way to avoid this. The movie itself has not moved, but the mouse is being interpreted as being in the wrong place.

-Bobby
