I am making a game in AS3 and using fscommand(“trapallkeys”,“true”); to disable the Flash Player shortcuts so the player cannot advance frames and cheat. Before Flash Player 9, this fscommand if the game was run from the browser, it simply was ignored. Now it throws a security error and the script aborts so the movie is broken. :puzzle:
For disabling the Flash Player menu, I’ve seen in AS3 they have put stage.showDefaultContextMenu=false; is there a similar function to this for trapallkeys?