Janek Report post Posted October 3, 2008 (edited) Hi, I am trying to generate a true 3d column chart (multiseries) from within a flash movie, like the example in the gallery http://fusioncharts.com/GalleryCol3D.asp#tr_1_2 When using the xml from that example within a flash movie, however, I get a clustered 2D chart like http://fusioncharts.com/GalleryCol3D.asp#tr_1_8 ,i.e. the different series are clustered and are shown in the same z-plane. The code I am using is as follows: #include "com/fusioncharts/includes/LoadingFunctions.as" #include "com/fusioncharts/includes/AppMessages.as" import com.fusioncharts.core.charts.MSColumn3DChart; var strXML:String = "INSERT XML HERE"; var xmlData:XML = new XML(strXML); var chartContainerMC:MovieClip = this.createEmptyMovieClip("ChartHolder",1); var myChart:MSColumn3DChart = new MSColumn3DChart(chartContainerMC, 1, 450, 325, 5, 38, false, "EN", "noScale"); myChart.setXMLData(xmlData); myChart.render(); stop(); The xml I am using is at http://fusioncharts.com/Gallery/Data/3DChart_Col_1.xml - I'm inserting this directly in the actionscript. The reason I show it separately here is that even with the "quote" tags, it doesn't come out right in the forum when I post the actionscript with the xml included. Is there a way to fix this and generate true 3D column charts from within Flash? Thanks in advance! Edited October 3, 2008 by Guest Share this post Link to post Share on other sites
Janek Report post Posted October 3, 2008 I saw that in the true 3D example in the gallery, a different swf type is used: MSCombi3D However, there is no corresponding .as file in my package - does anybody have the .as file, or has anybody been able to instantiate a true 3D multiseries chart within Flash??? Share this post Link to post Share on other sites
Deesnay Report post Posted June 4, 2009 I couldn't find the related class either. I wanted to instanciate such a MSCombi3D object in a Flash movie, something like: var myChart:MSCombi3D = new MSCombi3D(chartContainerMC, 1, 500, 500, 0, 0, false, "EN", "noScale"); But I can't seem to find the related class. This is the Enterprise Package we've just bought. Actually, I count 38 .swf files in FusionCharts_EnterpriseCharts but only 36 classes in comfusionchartscorecharts I thought there should have been one class for each chart type, and for each .swf. Am I missing something? Could someone help? Share this post Link to post Share on other sites
saptarshi Report post Posted June 5, 2009 Hello, The class file for the MScombi3D.swf is chart3D.as. You can check out the source code of the MSCombi3D.fla to see which class file it associates to. Hope this helps. Please feel free to write to us for any further query. Share this post Link to post Share on other sites