1 Reply Latest reply on Jun 22, 2010 5:12 AM by karthic_vkn

    Can we set Print Quality and Page 'Fit in to paper' thrue AS

    karthic_vkn-yc5aED

      Hi All,

       

      while taking Movieclip printout thru actionscipt, whatever text i used inside the Movieclip is get blurred. Moreover the print is not fit into the paper size (A4 size used).

       

      Is there any setting available to change resolution while its get convert to bitmap and also is there any option to set "fit in to the paper size"

       

      Here i am using this...

      ------------------------------------------------------------------------------------------ ---------------------------

      import flash.display.BitmapData;

       

      var newBitmap:BitmapData = new BitmapData(myMC._width, myMC._height);
      var tempMC:MovieClip = this;
      var printFC:PrintJob = new PrintJob();

       

      newBitmap.draw(myMC);
      tempMC.createEmptyMovieClip("printMC", 1);
      printMC.attachBitmap(newBitmap, 1);

       

      printFC.start();
      printFC.addPage(printMC, null, {printAsBitmap:true});
      printFC.send();