FlashBulb
02-26-2008, 03:45 PM
Hi, I'm trying to run a function on the event that my chart's data is fully loaded. I thought I could use
var mainChart:LineChart = new LineChart();
mainChart.addEventListener(Event.COMPLETE, chartComplete);
but that doesn't trigger my function
private function chartComplete(e:Event):void{
trace("chart complete!");
}
What am I doing wrong? The ChartEvent class doesn't have a COMPLETE defined in it... :confused:
var mainChart:LineChart = new LineChart();
mainChart.addEventListener(Event.COMPLETE, chartComplete);
but that doesn't trigger my function
private function chartComplete(e:Event):void{
trace("chart complete!");
}
What am I doing wrong? The ChartEvent class doesn't have a COMPLETE defined in it... :confused: