views:

280

answers:

5

I need to open a PDF in flash player 10. The swf will not be running in a browser and there will not be an adobe reader program on the system. I need to know if its possible to open a PDF without converting it in any way, in the flash player. I've searched google for countless hours and nothing has come up, only conversion software and code to open it in a browser.

Thanks, Jordan

A: 

If this won't be running in the browser, how will it be running? As a stand-alone .swf file? Could you run this as an Adobe AIR application? AIR does support rendering of PDF content.

joshbuhler
Thanks for the idea but no this cannot be an Adobe Air application. It has to be a pure as3 .swf file.
Jordan
+1  A: 

Read this Article.

http://va.lent.in/blog/tag/pdf2swf/

It goes into great detail of the research and limitations of PDF with ActionScript

phwd
A: 

No, it's not possible to view a PDF in Flash without either converting the PDF ahead of time to a flash format, or using an external PDF reader.

It may be possible to port some opensource PDF reader to Flash, maybe using Alchemy, but this will be a long and hard project, not something you could quickly throw together.

davr
A: 

two ways I suggested 1. By actionscript, copy the following code in Flash: on(release){getURL("mypdf.pdf", "_blank");} 2. You can simply convert PDF to Flash by this free online converter http://www.axmag.com/submit.html

Anna Lepage
A: 

Most Flash PDF viewers convert PDF to Flash online and show it in webpage. Here is an example:

1.visit http://www.pdf-to-flash-magazine.com/

2.click "free convert now" button at the second column.

3.Choose your file to upload, or copy your file url in it.click "upload Now" and wait for the conversion process.