0 Replies Latest reply on Jun 7, 2010 6:30 AM by kiran@flex

    BitmapData not found error in ImageSnapshot

    kiran@flex Level 1

      var

       

       

      image:ImageSnapshot

      var someChart:ChartComponent = new ChartComponent ();

      someCanvas.addChild(someChart);

      image = ImageSnapshot.captureImage(ChartComponent(report.getChildAt(0)),300, new JPEGEncoder);

       

      This code throws the above mention error, also

      if i use creationComplete event to dispatch new event it will display chart without data.