I am using openFL version 8.9 and HAXE to develop HTML5 games.
I have successfully loaded .swf file into my project.
In my Main.hx, I set width as stage.stageWidth and height as stage.stageHeight.
In project.xml instead of hard coding width and height as:
<window width="800" height="640"/>
, I want to set width and height as stage.stageWidth and stage.stageHeight respectively,something like:
<window width=stage.stageWidth height=stage.stageHeight/>.
How do I achieve this?