abhi0710 Report post Posted July 25, 2011 Hi , We are upgrading to enterprise version 3.2 of FusionCharts. We are having a custom ActionScript file which instantiates Column@dChart and com.fusioncharts.core.charts.Line2DChart. This ws compiling fne till now but now gives error saying com/fusioncharts/helper/ObjectManager.as(53): characters 7-11 : type error Object should be String. I noticed after removing most of the code that just the declarion itself is throwing this exception. private var chart:Line2DChart; Looking forward to some help. Thanks, Abhinav Share this post Link to post Share on other sites
Guest Angshu Report post Posted July 26, 2011 Hi, Welcome to FusionCharts Forum! Could you please confirm whether you are using ActionScript 2 or 3? FusionCharts will work with ActionScript 2. Awaiting for your response. Share this post Link to post Share on other sites
abhi0710 Report post Posted July 26, 2011 AS2 in which we are using FC3 Thanks, Abhinav Share this post Link to post Share on other sites
Guest Angshu Report post Posted July 26, 2011 Hi, Thanks for your response. Please make sure you have all the source files(.as) available with you. In case the problem persists, please send us the file to look into the issue. Hope this helps. Share this post Link to post Share on other sites
abhi0710 Report post Posted July 26, 2011 We are using mtasc to build fusion charts . Command like this in ant throws a similar exception <mtasc srcfile="com/fusioncharts/core/charts/Column2DChart.as" inputswf="fusioncharts/swf/Column2D.swf" outputswf="${flash.lg.flashbuild}/Column2D.swf" mx="true" msvc="true" version="8" group="true" strict="false" failonerror="${failonerror}"> <classpath> <path> <pathelement location="fusioncharts/src"/> </path> </classpath> </mtasc> we have copied all the source files from sourcecode folder. thanks, Abhinav Share this post Link to post Share on other sites
abhi0710 Report post Posted July 26, 2011 Hi, Can you please forward me to a link telling how to build fusion charts from source. Thanks, Abhinav Share this post Link to post Share on other sites
Guest Angshu Report post Posted July 26, 2011 Hi, Please refer to the links below: http://www.fusioncharts.com/docs/?Flash_Overview.html http://www.fusioncharts.com/docs/?Flash_ExternalXML.html http://www.fusioncharts.com/docs/?Flash_Multiple.html http://www.fusioncharts.com/docs/?Flash_Advanced.html Hope this helps. Share this post Link to post Share on other sites
abhi0710 Report post Posted July 26, 2011 These links say nothing about building fusion charts from source code. Thanks, Abhinav Share this post Link to post Share on other sites
FusionCharts Support Report post Posted July 26, 2011 We have not yet tried with mtasc. However, it seems that you are trying to compile Column2DChart.as which is just a class file and not the main source. You would need to use this class in another Fla file and then compile it. You can try the samples like MyFirstChart.fla from the Code > FlashExamples folder of the download pack. Share this post Link to post Share on other sites