03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

y (Point.y property)<br />

public y : Number<br />

The vertical coordinate of the point. The default value is 0.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 8<br />

Example<br />

The following example creates a Point object myPoint <strong>and</strong> sets the y coordinate value.<br />

import flash.geom.Point;<br />

var myPoint:Point = new Point();<br />

trace(myPoint.y); // 0<br />

myPoint.y = 5;<br />

trace(myPoint.y); // 5<br />

PrintJob<br />

Object<br />

|<br />

+-PrintJob<br />

public class PrintJob<br />

extends Object<br />

The PrintJob class lets you create content <strong>and</strong> print it to one or more pages. This class, in<br />

addition to offering improvements to print functionality provided by the print() method,<br />

lets you render dynamic content offscreen, prompt users with a single Print dialog box, <strong>and</strong><br />

print an unscaled document with proportions that map to the proportions of the content.<br />

This capability is especially useful for rendering <strong>and</strong> printing dynamic content, such as<br />

database content <strong>and</strong> dynamic text.<br />

Additionally, with properties populated by PrintJob.start(), your document can read your<br />

user's printer settings, such as page height, width, <strong>and</strong> orientation, <strong>and</strong> you can configure<br />

your document to dynamically format Flash content that is appropriate for the printer<br />

settings. These user layout properties are read-only <strong>and</strong> cannot be changed by Flash Player.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 7<br />

PrintJob 1033

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!