I have a basic WireFramePrimitive object
public class myWireFrame extends WireframePrimitiveBase
{
var handle_M : Mesh;
public function myWireFrame(color:uint=0xffffff, thickness:Number=1)
{
super(color, thickness);
this.mouseEnabled = true;
this.addEventListener(MouseEvent3D.MOUSE_OVER, onMouseOver);
}
protected override function buildGeometry():void{
this.addSegment( new LineSegment(new Vector3D(), new Vector3D(1000,0,0),0x003333,0x003333, 10));
}
private function onMouseOver(e:MouseEvent3D):void{
trace('Seg onMouseOver');
}
}
I add myWireFrame object without any problem to my scene, but no MouseEvent3D is fired on MOUSE_OVER.
Is it a bug?
Am i missing something?