**(**This is within a Document Class external Manager.as)
(Game controls are called in Controls.as and successfully assigned to Manager.root via addEventListeners within Controls)
Manager.root = this;
this.root.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, dont);
private function dont(e:FocusEvent):void
{
e.preventDefault();
}
var game:Levels = new Levels;
this.addChild(game);
game.mouseChildren = false;
stage.focus = game;
Keyboard controls work… until you click. Why doesn’t preventDefault(); work? How can I stop the mouse from re-assigning focus upon click?
Thanks for your help! I’m sure a solution will also be handy for many others.
:bounce: