13.08.2012 Views

ACTIONSCRIPT 3 Developer’s Guide en

ACTIONSCRIPT 3 Developer’s Guide en

ACTIONSCRIPT 3 Developer’s Guide en

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>ACTIONSCRIPT</strong> 3.0 DEVELOPER’S GUIDE<br />

Adding PDF cont<strong>en</strong>t in AIR<br />

If certain visual properties of an HTMLLoader object that contains a PDF docum<strong>en</strong>t are changed, the PDF<br />

docum<strong>en</strong>t will become invisible. These properties include the filters, alpha, rotation, and scaling properties.<br />

Changing these properties r<strong>en</strong>ders the PDF cont<strong>en</strong>t invisible until the properties are reset. The PDF cont<strong>en</strong>t is also<br />

invisible if you change these properties of display object containers that contain the HTMLLoader object.<br />

PDF cont<strong>en</strong>t is visible only wh<strong>en</strong> the scaleMode property of the Stage object of the NativeWindow object<br />

containing the PDF cont<strong>en</strong>t is set to StageScaleMode.NO_SCALE. Wh<strong>en</strong> it is set to any other value, the PDF<br />

cont<strong>en</strong>t is not visible.<br />

Clicking links to cont<strong>en</strong>t within the PDF file update the scroll position of the PDF cont<strong>en</strong>t. Clicking links to cont<strong>en</strong>t<br />

outside the PDF file redirect the HTMLLoader object that contains the PDF (ev<strong>en</strong> if the target of a link is a new<br />

window).<br />

PDF comm<strong>en</strong>ting workflows do not function in AIR.<br />

Last updated 6/6/2012<br />

554

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

Saved successfully!

Ooh no, something went wrong!