0

我使用Flex 4.1来创建我的应用程序,并减少 application.swf 的大小,我将框架链接到 RSL,这会产生一个小的 swf 文件。正如我所读到的关于 RSL 的内容,客户端将在第一时间下载 SWZ 文件并缓存它们以供使用,但我遇到了 Flash Player 11 的问题,即 swz 文件没有被缓存并且应用程序每次都下载它们。所以请指教,这与Flash Player的版本有关吗?

 these are the files Names textLayout_1.1.0.604.swz,textLayout.swc,framework_4.1.0.16076.swz,fra mework.swc
  here is how I added the links in the flex-config.xml.

 ===================================================================== ==========

<runtime-shared-library-path>
                <path-element>libs/textLayout.swc</path-element>
                <rsl-url>https://ibill.mobily.com.sa/Libs/textLayout_1.1.0.604.swz</rsl-url>
                <policy-file-url>https://ibill.mobily.com.sa/crossdomain.xml</policy-file-url>
                <rsl-url>textLayout_1.1.0.604.swz</rsl-url>
                <policy-file-url></policy-file-url>
      </runtime-shared-library-path>

<!-- OSMF SWC -->
<runtime-shared-library-path>
                <path-element>libs/osmf.swc</path-element>
                <rsl-url>https://ibill.mobily.com.sa/Libs/osmf_flex.4.0.0.13495.swz</rsl-url>
                <policy-file-url>https://ibill.mobily.com.sa/crossdomain.xml</policy-file-url>
                <rsl-url>osmf_flex.4.0.0.13495.swz</rsl-url>
                <policy-file-url></policy-file-url>
      </runtime-shared-library-path>

<!-- Framework SWC -->
      <runtime-shared-library-path>
                <path-element>libs/framework.swc</path-element>
                <rsl-url>https://ibill.mobily.com.sa/Libs/framework_4.1.0.16076.swz</rsl-url>
                <policy-file-url>https://ibill.mobily.com.sa/crossdomain.xml</policy-file-url>
                <rsl-url>framework_4.1.0.16076.swz</rsl-url>
                <policy-file-url></policy-file-url>
      </runtime-shared-library-path>

<!-- Spark SWC-->
         <runtime-shared-library-path>
                <path-element>libs/spark.swc</path-element>
                <rsl-url>https://ibill.mobily.com.sa/Libs/spark_4.1.0.16076.swz</rsl-url>
                <policy-file-url>https://ibill.mobily.com.sa/crossdomain.xml</policy-file-url>
                <rsl-url>spark_4.1.0.16076.swz</rsl-url>
                <policy-file-url></policy-file-url>
      </runtime-shared-library-path>

<!-- Sparkskins SWC-->
         <runtime-shared-library-path>
                <path-element>libs/sparkskins.swc</path-element>
                <rsl-url>https://ibill.mobily.com.sa/Libs/sparkskins_4.1.0.16076.swz</rsl-url>
                <policy-file-url>https://ibill.mobily.com.sa/crossdomain.xml</policy-file-url>
                <rsl-url>sparkskins_4.1.0.16076.swz</rsl-url>
                <policy-file-url></policy-file-url>
      </runtime-shared-library-path>

      <!-- RPC SWC -->
      <runtime-shared-library-path>
                <path-element>libs/rpc.swc</path-element>
                <rsl-url>https://ibill.mobily.com.sa/Libs/rpc_4.1.0.16076.swz</rsl-url>
                <policy-file-url>https://ibill.mobily.com.sa/crossdomain.xml</policy-file-url>
                <rsl-url>rpc_4.1.0.16076.swz</rsl-url>
                <policy-file-url></policy-file-url>
      </runtime-shared-library-path>

=================================================

提前致谢。

4

0 回答 0