Flex 应用程序何时存储优化 RSL 的摘要?

发布于 2024-10-04 15:17:08 字数 378 浏览 0 评论 0原文

根据 Adob​​e 帮助,为了优化 RSL,您需要执行以下操作:

  1. 通过在 Flash Builder 中编译库项目或使用 compc 命令行工具构建 SWC 文件来创建 RSL。
  2. 编译您的主应用程序并引用 RSL。
  3. 从 RSL 的 SWC 文件中提取library.swf 文件(如果您尚未这样做)。
  4. 针对library.swf 文件运行优化器
  5. 针对优化的library.swf 文件运行摘要工具
  6. 将优化库与应用一起部署,以便应用在运行时使用它。

但我不明白应用程序在哪个阶段存储第 5 阶段生成的新摘要?

According to the Adobe help in order to optimize a RSL you need to do the following:

  1. Create an RSL by compiling a library project in Flash Builder or building a SWC file with the compc command line tool.
  2. Compile your main application and reference the RSL.
  3. Extract the library.swf file from your RSL’s SWC file, if you haven’t done so already.
  4. Run the optimizer against the library.swf file
  5. Run the digest tool against the optimized library.swf file
  6. Deploy the optimized library with the application so that the application uses it at run time.

But I don't understand at what stage does the application store the new digest that was generated at stage 5?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

北方的韩爷 2024-10-11 15:17:09

您需要重新编译加载 RSL 的主应用程序,并将 verify-digests 编译器选项设置为 true。然后,从指定应用程序使用的 SWC 文件中读取摘要,并将其写入主编译的应用程序中。

You need to recompile your main app that loads the RSLs with the verify-digests compiler option set to true. This then reads the digests out of the SWC files that are specified to be used by the application and writes them into the main compiled app.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文