colouredFunk/stagewebviewbridge

pdf support?

Closed this issue · 2 comments

I wanted to know if there is any support for opening .pdf files locally?

I see you can do it with StageWebView from another site, (Ex. Adobe.com).

Thanks

- Patrick


Original issue reported on code.google.com by col...@gmail.com on 7 Oct 2011 at 8:29

Yes, simply use as:

view.loadLocalURL( "appfile:/pathToYourPdf.pdf");

See the wiki to see how the filesystem works.


Original comment by xperime...@gmail.com on 7 Oct 2011 at 9:51

  • Changed state: Invalid
this is not working for me. all pdf's are inside 'www/html/pdf' directory. and 
neither 'applink:/' or 'doclink:/' is working. im am always getting 'Error 
#2044: Unhandled ErrorEvent:. text=The requested URL was not found on this 
server.' i even tried setting the extension pdf to process. in an older version 
of stagewebviewbridge i was viewing pdfs wit no issue. any ideas?

Original comment by Carmine....@gmail.com on 31 Jan 2012 at 3:36