Flash AS2 中的打印区域?
我可以用actionscript-2打印某个区域吗,我有一个旧的flash演示文稿,我需要向它添加这样的功能,我无法切换到AS3,
在AS3中这可以很容易地完成,
var printArea:Rectangle = new Rectangle(0, 0, 600, 850);
var printOptions:PrintJobOptions = new PrintJobOptions(false);
myPrintJobObject.addPage(myMovieClip, printArea, printOptions, 1);
有人知道吗有任何AS2 解决方法吗?
Am i able to print a certain area with actionscript-2 , i have an old flash presentation which i need to add such a functinality to it , i can't switch to AS3 ,
in AS3 this could be done easily like this
var printArea:Rectangle = new Rectangle(0, 0, 600, 850);
var printOptions:PrintJobOptions = new PrintJobOptions(false);
myPrintJobObject.addPage(myMovieClip, printArea, printOptions, 1);
does anyone know any workaround with AS2 ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个非常简单的示例,希望对您有所帮助:
此外,如果这没有帮助,这里有更多相关信息:ActionScript 2.0 语言参考
This is a really simple example that will hopefully help you:
Also if that doesn't help there is more information about it here: ActionScript 2.0 Language Reference