文件下载不工作中铬具有辣椒闪光11.8.800.115 [英] File downloads not working in chrome which have Pepper-Flash 11.8.800.115

查看:157
本文介绍了文件下载不工作中铬具有辣椒闪光11.8.800.115的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用户无法下载使用Chrome其中有辣椒的Flash播放器插件,通过我们的柔性网站文件。下载不再Flex中navigateToUrl呼叫在Chrome工作。但是如果我禁用辣椒Flash插件在Chrome然后正常工作。难道你们知道的任何解决方法这个问题?

Users unable to download files through our flex website using Chrome which have Pepper Flash player plug-in. Downloads no longer working in Chrome from a navigateToUrl call in Flex. However if i disable the pepper flash plug-in in chrome then it works fine. Do you guys know any workaround to this issue?

推荐答案

有同样的问题。尝试使用ExternalInterface的。

Had the same issue. Try use ExternalInterface.

在HTML中的JS部分:

In html in the JS section:

function downloadFileFromAS( _fileURL ) {
    window.location.href=_fileURL;
}

在AS3:

if( ExternalInterface.available ) {
    ExternalInterface.call( "downloadFileFromAS", fileUrlGoesHere );
}

记住要在HTML

Remember to set allowscriptaccess = "always" in html

它看起来像它的工作原理,至少对我来说。

It looks like it works at least for me.

格雷格

这篇关于文件下载不工作中铬具有辣椒闪光11.8.800.115的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆