Sign in to follow this  
MikeM

exportChart through flash container

Recommended Posts

We are doing a simple test using VB with the flash10b.ocx loaded onto a VB form.

 

The flash ocx container is named "flashWindow" in the main form.

 

 

 

We can load a fusion chart just fine and set the DataXML.

 

However we cannot find a way to make the "exportChart" functionality work.

 

The last line of code below fails.

 

What needs to be done to make this work when working through the flash container to make this work?

 

 

 

Code

 

-------------

 

Call Me.flashWindow.LoadMovie(0, "C:DevFlashTestStackedColumn2D.swf")

 

Dim sChartXML : sChartXML = "

 

Call flashWindow.SetVariable("DataXML", sChartXML)

 

Call Me.flashWindow.CallFunction("")

Share this post


Link to post
Share on other sites

I think I may have posted this under the wrong forum.

 

The problem is with Fusion Charts V3.

 

We are using Flash 10.

 

 

 

Can this question be moved?

Share this post


Link to post
Share on other sites

Hi Mike,

 

 

 

I am afraid, exportChart will not work in classic VB as of now. Since exportChart has some complex mechanism which is only supported by FusionCharts Export component and export component JavaScript handler.

Share this post


Link to post
Share on other sites

Can you please explain exactly how the mechanism works? Using VB is only a test.

 

We will utimately be using server side JS controlling flash and not a VB container.

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