简体   繁体   中英

When does a flex application store a digest of an optimized RSL?

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM