Steve, I hope you take this in the tone it was intended, I wrote this more for Corban's benefit so he doesn't feel like a complete idiot for asking his question - I didn't write this to chew you out.
So I'm asking you nicely to lay off a little - Corban didn't just ask "How do I print in Flash?" - he asked a much more detailed question on best practices in printing using Flash - and I don't think best practices are in the manual. Part of his question was: >>Can I capture it as a JPEG or what is the best... flash paper? PDF? Yeah, "what is best?" - not in the manual. >>It is a jerk off question to ask something this simple without first >>searching in Flash and the web for your answer. Hence, read the freaking >>manual. But, since you're intent on not doing any footwork on your own, That was a tad harsh. Sure, maybe he could have done a little more research before posting, but I also don't think your "RTFM: print job" really even answers his general question about best ways to handle printing. Maybe he never realized PrintJob was in the manual, or if it was, that it was the best way to handle printing. >>It's not egotistical to point out that you're being lazy. I think it is actually - I've done it myself on lists when I'm having a bad day. :) Again, please understand the tone of this e-mail - I wrote this in Corban's defense - not to scold you or anything. (I'm now going to spread the love and go hug my co-workers and tell them they are great people, maybe we should all do the same. :) ) Jason Merrill | E-Learning Solutions | icfconsulting.com >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Steven Sacks >>Sent: Tuesday, February 21, 2006 3:47 PM >>To: 'Flashcoders mailing list' >>Subject: RE: [Flashcoders] HOW TO: Print a MC - first try. >> >>> Right... Just wondered about any tutorials or peoples best practices. >>> But if you feel like being a jerk to steam your own ego a bit >>> feel free. >>> I didn't think this was a jerk off question.... one can be wrong. >> >>Are you kidding me? Open the Help panel in Flash and search for "print". >>It's not egotistical to point out that you're being lazy. Did you even >>GOOGLE it? >> >>#2 listing on google for the search "printing in flash" >>http://www.devx.com/webdev/Article/27318 >> >>It is a jerk off question to ask something this simple without first >>searching in Flash and the web for your answer. Hence, read the freaking >>manual. But, since you're intent on not doing any footwork on your own, >>here is the tutorial that is found inside Flash from the help panel. Step >>by step instructions. >> >>Building a print job >>To build a print job, you use functions that complete the tasks in the order >>outlined in this section. The sections that follow the procedure provide >>explanations of the functions and properties associated with the PrintJob >>object. >> >>Because you are spooling a print job to the user's operating system between >>your calls to PrintJob.start() and PrintJob.send(), and because the PrintJob >>functions might temporarily affect the Flash Player internal view of >>onscreen Flash content, you should implement print-specific activities only >>between your calls to PrintJob.start() and PrintJob.send(). For example, the >>Flash content should not interact with the user between PrintJob.start() and >>PrintJob.send(). Instead, you should expeditiously complete formatting of >>your print job, add pages to the print job, and send the print job to the >>printer. >> >>To build a print job: >>Create an instance of the print job object: new PrintJob(). >>Start the print job and display the print dialog box for the operating >>system: PrintJob.start(). For more information, see Starting a print job. >>Add pages to the print job (call once per page to add to the print job): >>PrintJob.addPage(). For more information, see Adding pages to a print job. >>Send the print job to the printer: PrintJob.send(). For more information, >>see Sending the print job to the printer. >>Delete the print job: delete PrintJob. For more information, see Deleting >>the print job. >>The following example shows ActionScript that creates a print job for a >>button: >> >>myButton.onRelease = function() >>{ >> var my_pj = new PrintJob(); >> var myResult = my_pj.start(); >> if(myResult){ >> myResult = my_pj.addPage (0, {xMin : 0, xMax: 400, yMin: 0, >> yMax: 400}); >> myResult = my_pj.addPage ("myMovieClip", {xMin : 0, xMax: 400, >> yMin: 400, yMax: 800},{printAsBitmap:true}, 1); >> myResult = my_pj.addPage (1, null,{printAsBitmap:false}, 2); >> myResult = my_pj.addPage (0); >> >> my_pj.send(); >> } >> delete my_pj; >>} >> >>Only one print job can run at any given time. A second print job cannot be >>created until one of the following events has happened with the previous >>print job: >> >>The print job was entirely successful and PrintJob.send() method was called. >> >>The PrintJob.start() method returned a value of false. >>The PrintJob.addPage() method returned a value of false. >>The delete PrintJob method has been called. >> >> >>_______________________________________________ >>[email protected] >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >>Brought to you by Fig Leaf Software >>Premier Authorized Adobe Consulting and Training >>http://www.figleaf.com >>http://training.figleaf.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

