I am trying to make it so users can toggle fullscreen in html5 (or any target for that matter). That way if they are on a platform like kongergate, they can get a larger screen (not sure if this is possible).
Right now I have in my playstate:
if (FlxG.keys.justPressed.ENTER) FlxG.fullscreen = !FlxG.fullscreen;
and have tried adding to my project.xml file
<window fullscreen="true" if="html5" />
as well as removing/toggling to true the existing line for html5 target:
<window if="html5" resizable="false" />