Hi list...

I'm *desperately* trying to figure out why an AIR project's HTMLLoader won't 
load any pdfs, just showing blank.  Web pages load fine.

Based on documented known limitations (below): scaleX, scaleY, and alpha of the 
HTMLLoader are all 1, and rotation is 0. The window isn't transparent.  The 
htmlLoader instance is at the top of the displayList. I set scaleMode to 
NO_SCALE.  A simple test AIR file worked fine.  It's got to be something about 
my file, but what can I double check?

Any help is tremendously appreciated!

Thanks,
- Michael M.


____________________________________________________________
>From the docs:

Known limitations for PDF content in AIR

PDF content in Adobe AIR has the following limitations:

PDF content does not display in a window (a NativeWindow object) that is 
transparent (where the transparent property is set to true).
The display order of a PDF file operates differently than other display objects 
in an AIR application. Although PDF content clips correctly according to HTML 
display order, it will always sit on top of content in the AIR application's 
display order.
If certain visual properties of an HTMLLoader object that contains a PDF 
document are changed, the PDF document will become invisible. These properties 
include the filters, alpha, rotation, and scaling properties. Changing these 
properties renders the PDF content invisible until the properties are reset. 
The PDF content is also invisible if you change these properties of display 
object containers that contain the HTMLLoader object.
PDF content is visible only when the scaleMode property of the Stage object of 
the NativeWindow object containing the PDF content (the 
window.nativeWindow.stage property) is set to air.StageScaleMode.NO_SCALE. When 
it is set to any other value, the PDF content is not visible.
Clicking links to content within the PDF file update the scroll position of the 
PDF content. Clicking links to content outside the PDF file redirect the 
HTMLLoader object that contains the PDF (even if the target of a link is a new 
window).
PDF commenting workflows do not function in AIR.


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to