Hello, i create a Sprite3D with a BitmapMaterial, and then i added it to the scene all is fine. Noew i add an eventhanlder to the Sprite but no event will trigger. I test two methods
here the snippets
sprite3D.addEventListener(MouseEvent.MOUSE_DOWN,
function(evt:MouseEvent):void {
framerate.text = "blablabla";
}
);
sprite3D.addEventListener(MouseEvent3D.MOUSE_DOWN,
function(evt:MouseEvent3D):void {
framerate.text = "blablabla";
}
);
