varoon

calling chart class inside Flash Movie Layer

Recommended Posts

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

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