PDA

View Full Version : PDF loading problem, weird error


vzwhaley
03-06-2008, 03:13 AM
I have written code in Flex Builder 3.0 to load a PDF and have gone by the tutorials at lynda.com and on adobe livedocs. Everything seems to be fine with the code, but when I run the program, I receive the following error, and the PDF will not load. I am on a MacBook Pro running Mac OS 10.5.2. Any suggestions would be appreciated.

ERROR:
Sorry, an Actionscript error has occurred:
Error #2044: Unhandled error:. text=PDFError

FLEX CODE:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:Label text="Tearsheets" fontSize="18" />
<mx:HTML id="Tearsheets" location="app:/20080304_A_12.pdf"
width="100%" height="100%" />
</mx:WindowedApplication>

vzwhaley
03-06-2008, 02:28 PM
OK, I have installed all of the programs on a PC running Windows XP Professional and have tried the same code, and it works like a charm. So this problem is definitely a problem with the Macintosh OS.

Does anybody have any idea how to fix this error on a Macintosh? If not, how can I place a trouble ticket with Adobe to look into this matter?

Thanks for any help!