PrintJob class
Availability
Flash Player 7.
Description
The PrintJob class lets you create content and print it to one or more pages. This class, in addition
to offering improvements to print functionality provided by the
dynamic content offscreen, prompt users with a single print dialog box, and print an unscaled
document with proportions that map to the proportions of the content. This capability is
especially useful for rendering and printing external dynamic content, such as database content
and dynamic text.
Additionally, with properties populated by
user's printer settings, such as page height, width, and orientation, and you can configure your
document to dynamically format Flash content that's appropriate for the printer settings.
Method summary for the PrintJob class
You must use the methods for PrintJob class in the order listed in the following table.
Method
PrintJob.start()
PrintJob.addPage()
PrintJob.send()
Constructor for the PrintJob class
Availability
Flash Player 7.
Usage
my_pj = new PrintJob()
Parameters
None.
Returns
Nothing.
PrintJob.start()
Description
Displays the operating system's print dialog boxes and starts spooling.
Adds one page to the print spooler.
Sends spooled pages to the printer.
method, lets you render
print()
, your document can access your
PrintJob class
595
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?
Questions and answers