融合图表未显示Flash Player警告消息

编程入门 行业动态 更新时间:2024-10-14 06:22:01
本文介绍了融合图表未显示Flash Player警告消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在使用Fusion Charts 3.2.1.当我的Flash Player未在浏览器中启用或未安装时,我想显示一条警告消息.我怎么做?奇怪的是,即使禁用了Flash,即使在官方网站上,图表面板也完全空白.

I'm using Fusion Charts 3.2.1. I want to show a warning message when my flash player isn't enabled in browser or installed. How do I do that? Is strange that even on the official site the chart panel is completely blank when flash is disabled.

推荐答案

如果使用JavaScript代码呈现图表,则可以使用detectFlashVersion和autoInstallRedirect构造函数参数(将它们设置为1)来显示警报消息和重定向进入Flash Player下载页面.

If you are using JavaScript code to render the chart, you can use detectFlashVersion and autoInstallRedirect constructor parameters (set them to 1) to show an alert message and a redirection to flash player download page.

示例:

var myChart = new FusionCharts({ swfUrl : "FusionCharts/Column3D.swf", id : "myChartId", renderAt : "chartContainer", dataSource : "Data.xml", "detectFlashVersion": 1, "autoInstallRedirect": 1 });

查看最后两个构造函数属性.

Check out the last two constructor properties.

var myChart = new FusionCharts("FusionCharts/Column3D.swf", "myChartId", "400", "300", 0, 0, "", "noScale", "", 1, 1);

检查以上代码中的最后两个参数(作为1传递)

Check out the last two parameters (passed as 1) in the above code

更多推荐

融合图表未显示Flash Player警告消息

本文发布于:2023-11-27 13:10:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1638212.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:图表   消息   Flash   Player

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!