0 Replies Latest reply on Feb 18, 2010 2:41 AM by jlackyashdya27

    printing png image using printjob

    jlackyashdya27

      HI,
      I have one movie clip which is having extenally loaded png image. Now i want to print it. Its printing but showing one white box behind the image that means its not printing transparent image.

      My code is as follows:

      Quote:
      on(release)
      {
      trace("print");
      var my_pj = new PrintJob();
      var myResult = my_pj.start();
      if(myResult){
      myResult = my_pj.addPage (0, {xMin : 0, xMax: 776, yMin: 0,
      yMax: 593});
      myResult = my_pj.addPage (_parent.main_mc, {xMin : -300, xMax: 776,
      yMin: 400, yMax: 593},{printAsBitmap:true}, 1);
      myResult = my_pj.addPage (1, null,{printAsBitmap:true}, 2);
      myResult = my_pj.addPage (0);

      my_pj.send();
      }
      delete my_pj;
      }

      Please reply..