I have such code:
var colorMaterial : ColorMaterial = new ColorMaterial(0x00ff00);
colorMaterial.bothSides = true;
var geom:Geometry = new PlaneGeometry(320,32) as Geometry;
var res:Mesh = new Mesh(geom, colorMaterial);
//res.mouseEnabled = true;
FaceHelper.addFace(res, new Vertex(-160, 0, 16), new Vertex(160, 0, 16), new Vertex(0, 0, 128), new UV(0, 0), new UV(50, 0), new UV(50, 50), 0);
res.mouseEnabled = true;
whole this mesh should be mouse enabled, right? but mouse events triggered only on initail subgeometry (plane), not on second (added face). event handler attached to the scene. is this bug or just need to add some code?
p.s. tried to set mouseEnabled before/after adding face, before/after adding mesh to the scene - same result