Flash CS5 AS3 投影滤镜无法打印
我尝试进行了大量搜索以发现为什么我似乎无法从 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();
}
}
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();
}
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试 printAsBitmap,我不确定它会起作用,但它可能会起作用。
You could try printAsBitmap, I'm not sure it would work, but it may.