【问题标题】:Flash CS5 AS3 drop shadow filter won't printFlash CS5 AS3 阴影滤镜不会打印
【发布时间】:2011-01-17 20:04:33
【问题描述】:

我已经尝试了很多搜索,以发现为什么我似乎无法从 Flash 中打印投影滤镜。我在打印时没有任何问题,但如果我要打印的影片剪辑有或包含投影,则该剪辑将在没有投影的情况下打印。

有人知道为什么会发生这种情况吗?

如果您想自己尝试一下,这里是我正在使用的简单打印代码。只需在 contentmc 中添加阴影并打印即可。

print_btn.addEventListener(MouseEvent.CLICK,printContent);

function printContent(evt:MouseEvent) {
 var printJob:PrintJob = new PrintJob();

 if (printJob.start()) {

  if (content_mc.width>printJob.pageWidth) {
   content_mc.width=printJob.pageWidth;
   content_mc.scaleY=content_mc.scaleX;
  }

  printJob.addPage(content_mc);
  printJob.send();
 }
}

【问题讨论】:

  • content_mc.width=printJob.pageWidth; 你确定还有留影的地方吗?

标签: flash actionscript-3 printing filter dropshadow


【解决方案1】:

你可以试试printAsBitmap,我不确定它是否会起作用,但它可能会。

【讨论】:

    猜你喜欢
    • 2011-07-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-04-26
    • 1970-01-01
    • 2011-09-25
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多