> 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. _______________________________________________ Flashcoders@chattyfig.figleaf.com 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