Sign in to follow this  
Atul Darne

Prompt Downloading Adobe Flash Plugin - To User

Recommended Posts

Hello,

 

I need to prompt the user to download if he doesn't have flash plugin on his browser -

 

Is there any script provided by fusion ? or programmer will have to code on his own ?

 

does adobe provides the code snippet ??

 

please assist on urgent basis..

 

Regards,

 

Atul

Share this post


Link to post
Share on other sites

Hey Atul,

 

Yes, definitely using FusionCharts we can prompt the user to download the Flash Player if it doesn't exist.

 

Starting FusionCharts v3.2.2 gives you the option of either using automatic fallback, wherein the charts figure out the best mode of rendering (either Flash or JavaScript, based on availability of Flash Player), or lets you configure whether to render charts exclusively using JavaScript/Flash.

 

So, to render only Flash based charts, set the current renderer to flash. All the charts that get rendered, after this function call, will abide by this setting.

 

Also, to prompt the user to download Adobe Flash Player, try setting 'detectFlashVersion' and 'autoInstallRedirect ' attribute to '1' in the FusionCharts constructor.

 

detectFlashVersion : Set to "1" to make FusionCharts Class check whether Flash Player 8 is present in the Browser. (optional - Default value is "0' )

autoInstallRedirect : Set to "1" with detectFlashVersion set to "1" and FusionCharts redirects to Flash Player installation page of Adobe's website. (optional - default is "0")

 

FusionCharts.setCurrentRenderer('flash'); var myChart = new FusionCharts('Column2D.swf', 'myChart1', '900', '300', '0', '1','','','','1','1');

 

For more information, please refer the following link:

http://docs.fusioncharts.com/charts/contents/JavaScript/API/Methods.html

 

Hope this helps.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this