@juliancruz87 - I think you are missing the point here! I am not after the mouse x and y properties on the flash movie.
I need the scene/world x and y coordinates relative to the center of the 3d world. sceneX and sceneY provides what I need however the only way to get these property is when the mouse is hovering a 3d object. So my question is, is there a way to get those values regardless of the mouse hover a 3d object. I need to get those value at all time. Thanks S On Tue, Nov 24, 2009 at 11:30 AM, juliancruz87 <[email protected]>wrote: > 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 >
