var MouseLocalizationX:String;
var MouseLocalizationY:String;
function MouseUpdate(event:Event){
MouseLocaliztionX = mouseX+"";
MouseLocaliztionY = mouseY+"";
trace(MouseLocaliztionX + " " + MouseLocaliztionY);
}
addEventListener(Event.ENTER_FRAME,MouseUpdate);
hello this is a basic code but you can change the trace for anything
you want to use the mouse
On 24 nov, 05:54, "quinrou ." <[email protected]> wrote:
> HI
>
> It seems that you can only get the sceneX and sceneY properties when the
> mouse is over a 3d object.
> Is there way to get sceneX and sceneY without having to hover a 3d object?
>
> thanks
> S