从FDT编译SWC文件
我创建了一个库,我想将其编译为 SWC 文件,我尝试通过选择 FDT AS3 库作为运行设置在 FDT 中执行此操作,但最终得到的只是一个 0kb .swc 文件。有人知道我做错了什么吗?当我用谷歌搜索时,我也找不到太多东西,如果有人有一个关于如何做的快速演练,保存在你的书签或其他东西中,那就太好了!
非常感谢,
将要
I've made a library which I'd like to compile to an SWC file, I've tried to do this in FDT by choosing FDT AS3 Library as Run settings, but all I end up with is a 0kb .swc file. Does anybody know what I'm doing wrong? I can't find much when I google it either, if anybody has a quick walkthrough on how to do it saved in your bookmarks or something, that would be great!
Many thanks,
Will
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您始终可以下载 flex sdx 并使用 compc(组件编译器)编译 SWC。该命令类似于:
将 path_to_flex_sdk 替换为您安装 sdk 的位置的路径,source_path 替换为源代码的路径,output_path与您想要放置 swc 的任何位置,以及 DocumentClass 与您的文档类的名称(应位于 source_path 指定的目录中)。
祝你好运!
You can always download the flex sdx and compile swc's with compc (component compiler). The command would look something like:
replacing path_to_flex_sdk with the path to wherever you installed the sdk, source_path with the path to your source code, output_path with wherever you want the swc placed, and DocumentClass with the name of your document class (which should be in the directory specified by source_path).
Good luck!
尝试在 SWC 启动器配置、编译器参数选项卡中手动添加源:
Try to add sources manually in SWC Launcher configuration, Compiler arguments tab: