为现有的 Flex 应用程序创建一个 swc 文件
我的 Flex 项目只有很少的动作脚本文件。
我想将项目制作为 swc 文件。那么我可以知道如何将其创建为 swc 文件吗?
谢谢, 拉维
I had flex project with few action script files.
I want to make the project as swc file. So can i know how to create it as swc file.
Thanks,
Ravi
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您使用的是 Flash Builder,请创建一个 Flex 库项目并在其中添加代码,就像在普通项目中一样。构建设置中会有一个额外的窗格,允许您选择要包含的类(默认为所有类)。编译时,您将获得一个 .swc 文件。
I you are using Flash Builder, create a Flex library project and add the code there as you would in a normal project. There will be an extra pane in the Build settings allowing you to choose which classes to include (it defaults to everything). When you compile you will get a .swc file.
你必须使用Flex的组件编译器。请查看compc。
You have to use Flex's component compiler. Check out compc.