lhacker Posted January 14, 2007 Share Posted January 14, 2007 Hi all,Hopefully someone can help me!I would like to know the actionscript to print off just 1 frame in my flash movie, not every frame. Can any one help???P.S. I am using Flash 8 pro. Many thanks Link to comment Share on other sites More sharing options...
smiles Posted January 15, 2007 Share Posted January 15, 2007 Publish your Flash movie as .jpg or .gif or .png , I think it will let you choose the frame to publish Link to comment Share on other sites More sharing options...
Obi1-Cannabis Posted January 17, 2007 Share Posted January 17, 2007 Hi all,Hopefully someone can help me!I would like to know the actionscript to print off just 1 frame in my flash movie, not every frame. Can any one help???P.S. I am using Flash 8 pro. Many thanks check this link http://livedocs.macromedia.com/labs/as3pre...e=00000169.html hope it's helpfull Link to comment Share on other sites More sharing options...
funkyjunky Posted January 18, 2007 Share Posted January 18, 2007 check this link http://livedocs.macromedia.com/labs/as3pre...e=00000169.html hope it's helpfull Only the flash logo came up??? Link to comment Share on other sites More sharing options...
Obi1-Cannabis Posted January 19, 2007 Share Posted January 19, 2007 Only the flash logo came up??? The ActionScript to print a basic page through Flash Player requires four major statements in sequence: new PrintJob()--Creates a new print job instance of the name you specify. PrintJob.start()--Initiates the printing process for the operating system, invoking the print dialog box for the user, and populates the read-only properties of the print job. PrintJob.addPage()--Contains the details about the print job contents, including the Sprite object (and any children it contains), the size of the print area, and whether the printer should print the image as a vector or bitmap. You can use successive calls to addPage() to print multiple sprites over several pages. PrintJob.send()--Sends the pages to the operating system's printer. So, for example, a very simple print job script may look like the following (including import and class statements for compiling):import flash.printing.PrintJob;public class BasicPrintExample extends Sprite { var myPrintJob:PrintJob = new PrintJob(); myPrintJob.start(); myPrintJob.addPage(mySprite); myPrintJob.send();} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now