Add entry class to non-template displalay command

This commit is contained in:
Joshua Granick
2019-02-28 11:58:38 -08:00
parent 44bf137f9b
commit 00e3c85b58
9 changed files with 37 additions and 28 deletions

View File

@@ -109,11 +109,12 @@ class FlashPlatform extends PlatformTarget
else
{
var context = project.templateContext;
var hxml = new HXML();
hxml.noOutput = true;
hxml.swfVersion = context.SWF_VERSION;
var hxml = HXML.fromString(context.HAXE_FLAGS);
hxml.addClassName(context.APP_MAIN);
hxml.swf = "_.swf";
return context.HAXE_FLAGS + "\n" + hxml.toString();
hxml.swfVersion = context.SWF_VERSION;
hxml.noOutput = true;
return hxml;
}
}