[ 
https://issues.apache.org/jira/browse/FLEX-33418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13593497#comment-13593497
 ] 

Patrick Barry commented on FLEX-33418:
--------------------------------------

I used this shell script to update my AIR SDK 
(https://svn.apache.org/repos/asf/flex/sdk/branches/develop/ide/addAIRtoSDK.sh) 
to AIR 3.6.  After updating my namespaces to use 3.6 as well, this problem went 
away, but now I am getting this error while the PDF  opens:

3228  Error Domain=WebKitErrorDomain Code=204 "Plug-in handled load" 
UserInfo=0x1e9830 
{NSErrorFailingURLStringKey=file:///Users/cdpxpb/Library/Application%20Support/com.cno.TestProject.debug/Local%20Store/test.pdf,
 WebKitErrorMIMETypeKey=application/pdf, 
NSErrorFailingURLKey=file:///Users/cdpxpb/Library/Application%20Support/com.cno.TestProject.debug/Local%20Store/test.pdf,
 NSLocalizedDescription=Plug-in handled load}

So in summary, updating to AIR 3.6 fixed the problem, but this error is now 
appearing in the console. It doesn't appear to have any problematic behaviors, 
but I would like to know what is going on and how I can fix it.

                
> Error #2044: Unhandled error:. text=PDFError
> --------------------------------------------
>
>                 Key: FLEX-33418
>                 URL: https://issues.apache.org/jira/browse/FLEX-33418
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: PDF Support
>    Affects Versions: Apache Flex 4.9.0
>         Environment: Mac OSX + Flex 4.9.1 + FlashBuilder 4.7
>            Reporter: Patrick Barry
>              Labels: PDF, StageWebView,
>         Attachments: TestProject.fxp
>
>
> I have a pdf stored in File.ApplicationStorageDirectory and I am trying to 
> display it in StageWebView. I am running the Mobile Air project on my Mac, 
> and it used to work just fine (before switching over to Apache Flex, from 
> Adobe Flex SDK).  I have the latest Adobe Reader installed and get this error 
> on both versions 4.9.0 and 4.9.1.
> I run with AIR simulator as an iPAD within FlashBuilder 4.7.
> Error #2044: Unhandled error:. text=PDFError

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to