用户无法下载使用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.
格雷格