[a continuation of this question]
In order to embed resources in a SWF file, I have to add lines to my HXML file. However, since I'm using FlashDevelop, I don't know where to find that. Where should I put stuff I would ordinarily specify in my HXML?
There's more detailed help about the projects settings you need in the Haxe wiki .
You can use a custom
.hxml
file to build your project in FlashDevelop. Go to Project -> Properties... . Choose Custom Build as compilation target. Go to the Build tab and insert the following line in the Pre-Build Command Line field (assuming you named your build configurationcompile.hxml
and placed it in the root of the project directory):$(CompilerPath)\\haxe.exe $(ProjectDir)\\compile.hxml
至少在指定资源的情况下,可以通过指定命令行参数(在项目视图中右键单击项目,选择Properties ...,然后单击编译器选项>其他编译器选项并在其中添加)来完成此操作。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.