1 Reply Latest reply on Mar 30, 2017 4:31 AM by charlesf95859011

    Flex 3.6 RSL

    charlesf95859011

      I configured a mxml copilation for use RSL, but the SWF decompiled still the library scripts

      Consider the below picture:

       

      decompiler.swf.jpg

       

      In the flex-config.xml I used:

      <runtime-shared-library-path>

          <path-element>libs/datavisualization.swc</path-element>

          <rsl-url>/mge/flex/lib/datavisualization.swz</rsl-url>

          <policy-file-url/>

          <rsl-url>/mge/flex/lib/datavisualization.swf</rsl-url>

          <policy-file-url/>

      </runtime-shared-library-path>

      <runtime-shared-library-path>

        <path-element>libs/rpc.swc</path-element>

        <rsl-url>/mge/flex/lib/rpc.swz</rsl-url>

        <policy-file-url/>

        <rsl-url>/mge/flex/lib/rpc.swf</rsl-url>

        <policy-file-url/>

      </runtime-shared-library-path>

      <runtime-shared-library-path>

          <path-element>c:/compiler/flex-apis/utlils.swc</path-element>

          <rsl-url>/myapp/libs/utlils.swf</rsl-url>

          <policy-file-url/>

        </runtime-shared-library-path>


      I verified the "path-element", It is a correct absolute path
      "rsl-url" is ok too (http://localhost/myapp/libs/utlils.swf -> HTTP 200)

       

      Compiler line command:

       

      mxmlc -compiler.external-library-path=c:/compiler/flex-apis/utlils.swc,../frameworks\libs\frame work.swc,../frameworks\libs\player\10\playerglobal.swc -static-link-runtime-shared-libraries=false  c:\workspace\TestProject\src\Cleverson.mxml