EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Pagewidth (Printjob.pagewidth Property); Paperheight (Printjob.paperheight Property); Paperwidth (Printjob.paperwidth Property); Printjob Constructor

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PrintJob 1025
pageWidth (PrintJob.pageWidth property)
public pageWidth : Number [read-only]
The width of the actual printable area on the page, in points. Any user-set margins are
ignored. Note that this property is only available after a call to the
PrintJob.start()
method.
Availability: ActionScript 1.0; Flash Player 7
paperHeight (PrintJob.paperHeight property)
public paperHeight : Number [read-only]
The overall paper height, in points. Note that this property is only available after a call to the
PrintJob.start() method.
Availability: ActionScript 1.0; Flash Player 7
paperWidth (PrintJob.paperWidth property)
public paperWidth : Number [read-only]
The overall paper width, in points. Note that this property is only available after a call to the
PrintJob.start() method.
Availability: ActionScript 1.0; Flash Player 7
PrintJob constructor
public PrintJob()
Creates a PrintJob object that you can use to print one or more pages.
To implement a print job, use the following methods in sequence. You must place all
commands relating to a specific print job in the same frame, from the constructor through
PrintJob.send() and delete. Replace the [params] to the my_pj.addPage() method calls
with your custom parameters.
// create PrintJob object
var my_pj:PrintJob = new PrintJob();
// display print dialog box, but only initiate the print job
// if start returns successfully.
if (my_pj.start()) {
// use a variable to track successful calls to addPage
var pagesToPrint:Number = 0;

Table of Contents

Related product manuals