gpt4 book ai didi

flash - 为什么有些用户在 Flash 应用程序中收到 rsl 错误?

转载 作者:行者123 更新时间:2023-12-04 08:32:24 25 4
gpt4 key购买 nike

当我的一些用户尝试访问我的 Flash 应用程序时,他们收到一个错误

RSL Error 1 of 1

就是这样,没有错误代码或任何东西。此页面在 Internet Explorer 中适用于他们,但他们主要使用 Chrome。它也适用于我和 Chrome 中的另一位同事。我们在同一个网络上。

这是我的 .actionScriptProperties 文件
  <?xml version="1.0" encoding="UTF-8"?>
<actionScriptProperties mainApplicationPath="Works.mxml" version="3">
<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">
<compilerSourcePath/>
<libraryPath defaultLinkType="1">
<libraryPathEntry kind="4" path="">
<modifiedEntries>
<libraryPathEntry kind="3" linkType="4" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="true">
<crossDomainRsls>
<crossDomainRslEntry autoExtract="true" policyFileUrl="" rslUrl="flex.swf"/>
</crossDomainRsls>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="4" path="${PROJECT_FRAMEWORKS}/libs/framework.swc" useDefaultLinkType="false">
<crossDomainRsls>
<crossDomainRslEntry autoExtract="false" policyFileUrl="" rslUrl="https://example.com/rsl/framework_3.2.0.3958.swz"/>
<crossDomainRslEntry autoExtract="false" policyFileUrl="" rslUrl="https://example.com/rsl/framework_3.2.0.3958.swf"/>
</crossDomainRsls>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="4" path="${PROJECT_FRAMEWORKS}/libs/utilities.swc" useDefaultLinkType="true">
<crossDomainRsls>
<crossDomainRslEntry autoExtract="true" policyFileUrl="" rslUrl="/rsl/utilities.swf"/>
</crossDomainRsls>
</libraryPathEntry>
</modifiedEntries>
</libraryPathEntry>
<libraryPathEntry kind="1" linkType="1" path="libs"/>
</libraryPath>
<sourceAttachmentPath/>
</compiler>
<applications>
<application path="Calendar.mxml"/>
<application path="testImage.mxml"/>
<application path="XMLCreate.mxml"/>
<application path="book.mxml"/>
<application path="Works.mxml"/>
<application path="cpapp.mxml"/>
<application path="books.mxml"/>
<application path="flashup.mxml"/>
<application path="Eyeballs.mxml"/>
<application path="albums.mxml"/>
<application path="DragDrop.mxml"/>
<application path="flexpaint.mxml"/>
<application path="testdrop.mxml"/>
<application path="TextTicker.mxml"/>
<application path="slideshow.mxml"/>
<application path="test.mxml"/>
<application path="bifedit.mxml"/>
<application path="test_canvas.mxml"/>
<application path="canvas.mxml"/>
<application path="LayoutBuilder.mxml"/>
<application path="ComponentBuilder.mxml"/>
<application path="BIF.mxml"/>
</applications>
<modules/>
<buildCSSFiles>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/grey.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/timeless3.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/letter_photography.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/bobday.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/wdt.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/sigart.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/save_on_crafts.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/creativehabitat.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/acmoore.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/kamans.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/ipi.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/bachphoto.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/tfstyle.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/front_slide.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/fonts.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/abm.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/appo.css"/>
<buildCSSFileEntry destPath="bin-debug" sourcePath="src/CSS/benfranklin.css"/>
</buildCSSFiles>
</actionScriptProperties>

编辑:
好的,用户没有向我发送包含错误号的完整页面
完整的错误是:
RSL Error 1 of 1
Error #2048

编辑2:
Crossdomain.xml(位于 https://example.com/crossdomain.xml)
<cross-domain-policy>
<allow-access-from domain="*"/>
</cross-domain-policy>

编辑 3:
我查看了开发者网络信息。似乎在我的机器上它甚至没有尝试请求跨域文件,而在我同事的机器上,它是在 http 和 https 上请求它。

这是嵌入闪存的代码:
<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">
<param name="quality" value="high" />
<param name="movie" value="/sites/all/misc/cfa_flex/canvas.swf" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="true" />
<param name="flashVars" value="prodid=&amp;prjid=&amp;apptype=canvastransfer&amp;pid=elegance" />
<param name="apptype" value="canvastransfer" />
<param name="prodid" value="" />
<param name="prjid" value="" />
<param name="allowFullScreen" value="true" />
<param name="domain" value="https://example.com" />
<script type="text/javascript" src="/sites/all/misc/js/AC_OETags.js"></script>
<script type="text/javascript" src="/sites/all/misc/js/detectflash.js"></script>
<script type="text/javascript" src="/sites/all/misc/js/miscscripts.js"></script>
<script type="text/javascript" src="/misc/jquery.js"></script>
<script type="text/javascript" src="/sites/all/misc/js/tl.js"></script>
<script type="text/javascript" src="/sites/all/modules/contrib/thickbox/thickbox.js"></script>
<script language="JavaScript" type="text/javascript">
//<![CDATA[
if (hasReqestedVersion) {var content = '<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">'
+ '</embed>';
document.write(content);

} else {
document.write('<h3 style="font-family:Arial, Helvetica, sans-serif; color:#999999;">You do not have the latest version of Macromedia Flash Player.</h3><a href="http://www.macromedia.com/go/getflashplayer" target="_blank"><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" /></a><a href="http://www.adobe.com/go/getflash/">The website requires 9 or higher version of flash to display the content.</a><p>To Download Flash Player on Android, see: <a href="http://forums.adobe.com/thread/1061194">http://forums.adobe.com/thread/1061194</a>.</p>');

}
//]]>
</script>
</object>

编辑 4:
此外,当从我的同事计算机调用跨域时,它会使用我们的其他域调用
https://www.example2.com/crossdomain.xml
http://www.example2.com/crossdomain.xml

而对原始页面的请求是
https://example.com/cfa/canvastransfer

问题是这些都需要在我们的所有 3 个域上都相同。

编辑 5:
更新了 allowScriptAccess 为始终,而不是嵌入 Flash 的代码上的 sameDomain。没变。

编辑 6:
在我的一个 mxml 文件中,我称之为(仍然有同样的问题):
Security.loadPolicyFile("https://example.com/crossdomain.xml");

最佳答案

您是否在为 rsls 提供服务的服务器上部署了 crossdomain.xml 文件?

当您的应用程序 swf 通过 https 提供服务时,这也可能是由于尝试通过 http 加载 rsl 造成的。

关于flash - 为什么有些用户在 Flash 应用程序中收到 rsl 错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43684651/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com