保存到FDT4后自动构建SWC
我目前正在尝试使用 FDT 4 进行 Flash/Flex 开发(之前使用 Flash Builder),但我有一点烦恼。
我有两个项目:GameCommon 和 GameWeb。 GameCommon 是一个库,编译为 SWC 文件,而 GameWeb 是该 SWC 的薄包装器,并编译为 SWF(还有一个 GameDesktop 项目,它是 SWC 的 AIR 包装器)。
在 Flash 构建器中,当我在 GameCommon 中编辑某些内容时,SWC 会自动构建,这意味着如果我随后运行 GameWeb,它会被更新。
然而,在 FDT 中,我必须显式运行启动器才能让它为 GameCommon 构建 SWC(之后它将自动重建 GameWeb)。有没有办法改变它,使其更像 Flash Builder?
I'm currently trying FDT 4 for Flash/Flex development (was using Flash Builder) before, but I have a little annoyance.
I have two projects: GameCommon and GameWeb. GameCommon is a library, compiled to an SWC file, while GameWeb is a thin wrapper around that SWC and is compiled to an SWF (There's also a project GameDesktop which is an AIR wrapper around the SWC).
In Flash builder, the SWC would automatically get built when I edit and something in GameCommon, meaning that if I ran GameWeb afterwards, it would be updated.
In FDT however, I have to explicitly run a launcher to get it to build the SWC for GameCommon (after which it will automatically rebuild GameWeb). Is there a way to change this so it works more like Flash Builder?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前FDT没有自动为整个项目保存SWC的库项目。您可以通过将 SWC 添加到编译 SWF 的启动器的启动器链来触发 SWC 的启动器。
您可以在此处找到有关使用启动器链的教程:http:// www.fdt.powerflasher.com/developer-tools/fdt/whats-new/
Currently FDT does not have a library project which automatically saves a SWC for the whole project. You could trigger the launcher for the SWC by adding it to the launcher chain of the launchers which compile the SWFs.
You can find a tutorial on using the launcher chain here: http://www.fdt.powerflasher.com/developer-tools/fdt/whats-new/