varoon Report post Posted November 5, 2008 Hi i m creating a Flash chart containing many small charts... when i call the var chart1:Column2DChart = new Column2DChart(chartContainer1MC, 1, 365, 225, 20, 15, false, "EN", "noScale"); in the main Action layer it works fine.... but when i use the same i the inner layers.. inside some movie clip layer... i get error msg and could not load the chart... Error Msg: Location: Symbol=sprite 48, layer=Layer 25,frame=2, line 10 Description: The class or interface 'Column2DChart' could not be loaded. Source: var chart1:Column2DChart = new Column2DChart(chartContainer1MC, 1, 365, 225, 20, 15, false, "EN", "noScale"); How do i call the chart ? when the button is clicked ???? Share this post Link to post Share on other sites
nilanjan Report post Posted November 5, 2008 Hi Please copy-n-paste the "import" code at the beginning of the code. Share this post Link to post Share on other sites
varoon Report post Posted November 5, 2008 Error : Statement must appear within on handler if i use the import again inside layer.... Share this post Link to post Share on other sites