如何让 Flex Builder 使用所选框架?
我正在尝试创建一个 Flex 项目,该项目将使 Flash Player 缓存 Flex 框架。 Flex Builder 附带 Flex SDK 3.2.0.3958 并在项目属性 -> 下设置框架链接以使用运行时共享库 (RSL) Flex Build Path 会将框架与我的主应用程序分开,我看到我的项目的 bin-debug 目录包含用于分发的framework_3.2.0.3958.swf 和 *.swz。
Flex SDK 3.4修复了一些错误,因此我将其配置为另一个可用的sdk并将其设置为默认SDK。当我编译时,我期望 bin-debug 目录包含framework_3.4.0.9271.swf和*.swz;但是,Flex Builder 仍在编写framework_3.2.0.3958.swf 和*.swz。
如何配置 Flex Builder 来打包 Flash Player 缓存的正确框架文件?
I'm attempting to create a Flex Project that will cause the Flash Player to cache the Flex framework. Flex Builder comes with Flex SDK 3.2.0.3958 and setting the Framework Linkage to use Runtime shared Library (RSL) under Project Properties -> Flex Build Path will separate the framework from my main application and I see that my project's bin-debug directory contains framework_3.2.0.3958.swf and *.swz for distribution.
Flex SDK 3.4 fixes a few bugs, so I configured it as another available sdk and set it as the default SDK. When I compile, I expect the bin-debug directory to contain framework_3.4.0.9271.swf and *.swz; however, Flex Builder is still writing framework_3.2.0.3958.swf and *.swz.
How do I configure Flex Builder to package the correct framework files for Flash Player caching?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
3.4 框架是否在库选项卡中侦听 Flex 构建器中的构建路径?它仍然列为 RSL 或合并到代码中吗?这些设置是全局的还是仅针对该项目?
您是否尝试过将项目导出为发布版本?这应该会重新编译所有内容并重新创建您的 RSL。然后返回编译调试版本直到代码准备好?
Is the 3.4 framework listen in the libraries tab for build path in flex builder? It it still listed as RSL or Merged into Code? Are these settings global or just for that project?
Have you tried exporting the project as a release build? That should recompile everything and recreate your RSL's. Then go back to compiling a debug version until your code is ready?
将其全局设置为默认值可能还不够,您可能需要进入单个项目并将其明确指向备用 SDK。此外,您需要确保在项目级别正确设置链接。
完成此操作后删除 bin-debug 的内容,然后清理您的项目。这应该使用正确的 RSL 文件进行重建。
Setting it as Default globally might not be enough, you probably need to go into the individual project and point it at the alternate SDK explicitly. In addition, you want to make sure your linkages are set up correctly at the project level.
Delete the contents of your bin-debug after you have done this and then Clean your project. This should rebuild with the proper RSL files.