Help - Flash CS5 - Print ( a print screen of the program)
I would like the clients to print what they are seeing at the moment with the flash program.
How is this possible? That is why I said (print screen of program) because its actually printing what the person is seeing at the moment.
The thing is that my program leads to certain places and combinations of photos. So I w开发者_JAVA技巧ould like this functionality.
Is this possible?
I assume you want the client to physically print something as opposed to a screen grab..?
What you are probably after is PrintJob(). http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/printing/PrintJob.html
var my_pj:PrintJob = new PrintJob();
if (my_pj.start()) {
try {
my_pj.addPage(this.stage);
}catch(e:Error) {
//handle error
}
my_pj.send();
}
精彩评论