RebelXT

WMODE issue (flash context menu disappears)

Recommended Posts

When I enable transparent of opaque WMODE in javascript, flash context menu no longer shows up when right clicking on the chart. So there is no way to trigger Export/Print chart etc.

 

 

 

myChart.addParam("WMode", "Transparent");

 

 

 

Is there any workaround?

 

 

 

Using default WMODE ("window) allows context menu to work but this causes issues with flash overlaying popup windows.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Rebel,

In case you wish to allow DHTML objects appear over a Flash movie just add this parameter:

WMode=Transparent

to the Flash <object> tag. It should look like this:

<param name="WMode" value="Transparent">.

In case you are using FusionCharts JavaScript class to embed the chart, you can just call the following method:

 <div id="chartdiv" align="center">The chart will appear within this DIV. This text will be replaced by the chart.</div>

<script type="text/javascript">

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

myChart.setDataURL("Data.xml");

myChart.setTransparent(true);

myChart.render("chartdiv");

</script>

</div>

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