0 Replies Latest reply on Nov 12, 2008 1:10 PM by tomArrow

    getDefinitionByName choking on "mx.charts.BarChart"

    tomArrow
      The following line works fine with either "mx.charts.PieChart" or "mx.charts.ColumnChart" but dies with "mx.charts.BarChart". What gives?

      var chartType:String = "mx.charts.BarChart";
      var c:Class = getDefinitionByName(chartType) as Class;