闪光CS5 AS3投影滤镜将不打印 [英] Flash CS5 AS3 drop shadow filter won't print

查看:132
本文介绍了闪光CS5 AS3投影滤镜将不打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试着搜索了不少发现为什么我似乎不能够打印从Flash阴影过滤器。我没有任何麻烦的印刷,但如果我要打印的影片剪辑具有或含有阴影,该剪辑将打印SAN的阴影。

任何人有任何见解,为什么这可能发生?

如果你想尝试一下自己

,这里是简单的print code我使用。只要把里面的东西contentmc与阴影效果,并打印出来。

  print_btn.addEventListener(MouseEvent.CLICK,printContent);

功能printContent(EVT:的MouseEvent){
 VAR PRINTJOB:PrintJob的=新的PrintJob();

 如果(对PrintJob.start()){

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

  一个PrintJob.addPage(content_mc);
  的PrintJob.send();
 }
}
 

解决方案

您可以尝试<一href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/printing/PrintJobOptions.html#printAsBitmap"相对=nofollow> printAsBitmap ,我不知道它会工作,但它可能。

I've tried searching quite a bit to discover why I don't seem to be able to print drop shadow filters from within Flash. I don't have any trouble printing, but if the movieclip I want to print has or contains a drop shadow, that clip will print sans the drop shadow.

Anyone have any insight as to why this might be happening?

If you want to try it out yourself, here is the simple print code I'm using. Just put something inside contentmc with a dropshadow and print it.

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();
 }
}

解决方案

You could try printAsBitmap, I'm not sure it would work, but it may.

这篇关于闪光CS5 AS3投影滤镜将不打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆