title: Why are some users getting rsl error in flash app?
body: <p>When some of my users try to access my flash application, they receive an error</p>
  
  <pre><code>RSL Error 1 of 1
  </code></pre>
  
  <p>That is it, there is no error code or anything. This page works for them in Internet Explorer, but they primarily use Chrome. It also works fine for me and another coworker in Chrome. We are on the same network.</p>
  
  <p>Here is my .actionScriptProperties file</p>
  
  <pre><code>  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;actionScriptProperties mainApplicationPath="Works.mxml" version="3"&gt;
        &lt;compiler additionalCompilerArguments="-locale en_US -strict=true -debug=true -optimize=true -link-report output.xml -use-network=false" copyDependentFiles="false" enableModuleDebug="true" flexSDK="Flex 3.2" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersion="9.0.124" htmlPlayerVersionCheck="true" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" useApolloConfig="false" verifyDigests="true" warn="true"&gt;
          &lt;compilerSourcePath/&gt;
          &lt;libraryPath defaultLinkType="1"&gt;
            &lt;libraryPathEntry kind="4" path=""&gt;
              &lt;modifiedEntries&gt;
                &lt;libraryPathEntry kind="3" linkType="4" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="true"&gt;
                  &lt;crossDomainRsls&gt;
                    &lt;crossDomainRslEntry autoExtract="true" policyFileUrl="" rslUrl="flex.swf"/&gt;
                  &lt;/crossDomainRsls&gt;
                &lt;/libraryPathEntry&gt;
                &lt;libraryPathEntry kind="3" linkType="4" path="${PROJECT_FRAMEWORKS}/libs/framework.swc" useDefaultLinkType="false"&gt;
                  &lt;crossDomainRsls&gt;
                    &lt;crossDomainRslEntry autoExtract="false" policyFileUrl="" rslUrl="https://example.com/rsl/framework_3.2.0.3958.swz"/&gt;
                    &lt;crossDomainRslEntry autoExtract="false" policyFileUrl="" rslUrl="https://example.com/rsl/framework_3.2.0.3958.swf"/&gt;
                  &lt;/crossDomainRsls&gt;
                &lt;/libraryPathEntry&gt;
                &lt;libraryPathEntry kind="3" linkType="4" path="${PROJECT_FRAMEWORKS}/libs/utilities.swc" useDefaultLinkType="true"&gt;
                  &lt;crossDomainRsls&gt;
                    &lt;crossDomainRslEntry autoExtract="true" policyFileUrl="" rslUrl="/rsl/utilities.swf"/&gt;
                  &lt;/crossDomainRsls&gt;
                &lt;/libraryPathEntry&gt;
              &lt;/modifiedEntries&gt;
            &lt;/libraryPathEntry&gt;
            &lt;libraryPathEntry kind="1" linkType="1" path="libs"/&gt;
          &lt;/libraryPath&gt;
          &lt;sourceAttachmentPath/&gt;
        &lt;/compiler&gt;
        &lt;applications&gt;
          &lt;application path="Calendar.mxml"/&gt;
          &lt;application path="testImage.mxml"/&gt;
          &lt;application path="XMLCreate.mxml"/&gt;
          &lt;application path="book.mxml"/&gt;
          &lt;application path="Works.mxml"/&gt;
          &lt;application path="cpapp.mxml"/&gt;
          &lt;application path="books.mxml"/&gt;
          &lt;application path="flashup.mxml"/&gt;
          &lt;application path="Eyeballs.mxml"/&gt;
          &lt;application path="albums.mxml"/&gt;
          &lt;application path="DragDrop.mxml"/&gt;
          &lt;application path="flexpaint.mxml"/&gt;
          &lt;application path="testdrop.mxml"/&gt;
          &lt;application path="TextTicker.mxml"/&gt;
          &lt;application path="slideshow.mxml"/&gt;
          &lt;application path="test.mxml"/&gt;
          &lt;application path="bifedit.mxml"/&gt;
          &lt;application path="test_canvas.mxml"/&gt;
          &lt;application path="canvas.mxml"/&gt;
          &lt;application path="LayoutBuilder.mxml"/&gt;
          &lt;application path="ComponentBuilder.mxml"/&gt;
          &lt;application path="BIF.mxml"/&gt;
        &lt;/applications&gt;
        &lt;modules/&gt;
        &lt;buildCSSFiles&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/grey.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/timeless3.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/letter_photography.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/bobday.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/wdt.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/sigart.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/save_on_crafts.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/creativehabitat.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/acmoore.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/kamans.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/ipi.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/bachphoto.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/tfstyle.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/front_slide.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/fonts.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/abm.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/appo.css"/&gt;
          &lt;buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/benfranklin.css"/&gt;
        &lt;/buildCSSFiles&gt;
      &lt;/actionScriptProperties&gt;
  </code></pre>
  
  <p>EDIT:
  Ok, the user didn't send me the full page, which contained an error number
  The full error is:</p>
  
  <pre><code>RSL Error 1 of 1
  Error #2048
  </code></pre>
  
  <p>EDIT2:
  Crossdomain.xml (located at <a href="https://example.com/crossdomain.xml" rel="noreferrer">https://example.com/crossdomain.xml</a>)</p>
  
  <pre><code>&lt;cross-domain-policy&gt;
    &lt;allow-access-from domain="*"/&gt;
  &lt;/cross-domain-policy&gt;
  </code></pre>
  
  <p>EDIT 3:
  I took a look at the developer network information. It seems like on my machine it is not even trying to request the crossdomain file, while on my coworker's machine, it is requesting it on http and https.</p>
  
  <p>Here is the code that embeds the flash:</p>
  
  <pre><code>&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="Works" name="Works" width="990" height="670" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"&gt;
      &lt;param name="quality" value="high" /&gt;
      &lt;param name="movie" value="/sites/all/misc/cfa_flex/canvas.swf" /&gt;
      &lt;param name="wmode" value="transparent" /&gt;
      &lt;param name="bgcolor" value="#ffffff" /&gt;
      &lt;param name="allowScriptAccess" value="always" /&gt;
      &lt;param name="allowFullScreen" value="true" /&gt;  
      &lt;param name="flashVars" value="prodid=&amp;amp;prjid=&amp;amp;apptype=canvastransfer&amp;amp;pid=elegance" /&gt;  
      &lt;param name="apptype" value="canvastransfer" /&gt;  
      &lt;param name="prodid" value="" /&gt;  
      &lt;param name="prjid" value="" /&gt;  
      &lt;param name="allowFullScreen" value="true" /&gt;  
      &lt;param name="domain" value="https://example.com" /&gt;
      &lt;script type="text/javascript" src="/sites/all/misc/js/AC_OETags.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="/sites/all/misc/js/detectflash.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="/sites/all/misc/js/miscscripts.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="/misc/jquery.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="/sites/all/misc/js/tl.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="/sites/all/modules/contrib/thickbox/thickbox.js"&gt;&lt;/script&gt;
      &lt;script language="JavaScript" type="text/javascript"&gt;
        //&lt;![CDATA[
          if (hasReqestedVersion) {var content = '&lt;embed src="/sites/all/misc/cfa_flex/canvas.swf?k" quality="high" bgcolor="#ffffff"'
          + 'id="Works"'
          + 'allowFullScreen="true"'
          + 'width="990" height="670" name="Works" align="middle"'
          + 'wmode="transparent"'
          + 'play="true"'
          + 'loop="false"'
          + 'quality="high"'
          + 'allowFullScreen="true"'
          + 'flashVars="apptype=canvastransfer"'
          + 'allowScriptAccess="always"'
          + 'type="application/x-shockwave-flash"'
          + 'pluginspage="http://www.adobe.com/go/getflashplayer"&gt;'
          + '&lt;/embed&gt;';
          document.write(content);
  
          } else {
          document.write('&lt;h3 style="font-family:Arial, Helvetica, sans-serif; color:#999999;"&gt;You do not have the latest version of Macromedia Flash Player.&lt;/h3&gt;&lt;a href="http://www.macromedia.com/go/getflashplayer" target="_blank"&gt;&lt;img src="http://www.macromedia.com/images/shared/download_buttons/get_flash_player.gif" border="0" width="88" height="31" alt="Get Adobe Flash Player" /&gt;&lt;/a&gt;&lt;a href="http://www.adobe.com/go/getflash/"&gt;The website requires 9 or higher version of flash to display the content.&lt;/a&gt;&lt;p&gt;To Download Flash Player on Android, see: &lt;a href="http://forums.adobe.com/thread/1061194"&gt;http://forums.adobe.com/thread/1061194&lt;/a&gt;.&lt;/p&gt;');
  
          }
        //]]&gt;
      &lt;/script&gt;
    &lt;/object&gt;
  </code></pre>
  
  <p>EDIT 4:
  Also, when the crossdomain is called from my coworkers computer it is called using our other domain</p>
  
  <pre><code>https://www.example2.com/crossdomain.xml
  http://www.example2.com/crossdomain.xml
  </code></pre>
  
  <p>Whereas the request for the original page is</p>
  
  <pre><code>https://example.com/cfa/canvastransfer
  </code></pre>
  
  <p>The thing is these all need to work on all 3 of our domains the same.</p>
  
  <p>EDIT 5:
  Updated allowScriptAccess to be always, instead of sameDomain on the code that embeds the flash. No change.</p>
  
  <p>EDIT 6:
  In one of my mxml files, I am calling this (still having same issues):</p>
  
  <pre><code>Security.loadPolicyFile("https://example.com/crossdomain.xml");
  </code></pre>