[B]Mouse Position[/B]

Hi everyone

I wonder how to get the mouse’s position relative to the size of the stage and using:

stage.scaleMode = StageScaleMode.EXACT_FIT;

For example with a stage of 400 x 400, the vertical mouse’s position goes (from a corner to another) from 0 to 400. Normal !

But now when I resize my SWF until 800 x 800, the vertical mouse’s position still goes from 0 to 400.

I get the vertical position with

mouseY

and the height of the satge with

stage.stageHeight

How can I get the mouse’s position going from 0 to 800 in this exemple?

Thanx a lot