MouseEvent3D.MOUSE_OVER & OUT events are fired continously

Software: Away3D 4.x

volzh, Newbie
Posted: 24 August 2011 04:29 AM   Total Posts: 4

MouseEvent3D.MOUSE_OVER & OUT events are fired continously, even mouse pointer is not moving.
and also view3D.forceMouseMove is false.

here’s my test code.

var mat:ColorMaterial = new ColorMaterial(0xff0000);
mat.lights [this._dayLight];
var 
cube:Cube = new Cube(mat);
this._scene.addChild(cube);
cube.mouseEnabled true;
cube.addEventListener(MouseEvent3D.MOUSE_OVER, function():void{trace('mouse over');});
cube.addEventListener(MouseEvent3D.MOUSE_OUT, function():void{trace('mouse out');}); 

this prints ‘mouse over’ & ‘mouse out’ to console window continously.

   

Richard Olsson, Administrator
Posted: 24 August 2011 07:08 AM   Total Posts: 1192   [ # 1 ]

Thanks. This sounds like a bug. Could you kindly file an issue report on GitHub? That would be much appreciated!

Cheers
/R

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X