Hey all,
In my application i don’t want the complete stage to listen to mouse- and keyboard events. All the away3d code is in a separate class/component and in my mxml i just want the component to listen to mouse- and keyboard events that are related to the 3d viewer part. When i do
view.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
viewEngine.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
Does anyone know how to solve this?