Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Can I dynamically import pdf into swf?

New Here ,
Jun 22, 2010 Jun 22, 2010

Hi All,

I need to be able to dynamically import an external pdf file into my  flash .swf and display it within a movie clip on the timeline. --with  pagination.  Is this possible with Flash CS4?

Thank you for reading.  I have been out of the flash game for about a  year now.  However, a situation has arisen where I need to create a swf  movie that loads an external pdf, paginates it, and displays it within a  movie clip in the swf.  Is this possible or will I be forced to only  provide a hyperlink to the pdf?

Thank you so much for your time.
Pete

TOPICS
ActionScript
4.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 22, 2010 Jun 22, 2010

no.

but you can convert your pdf to a swf and load that.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 23, 2010 Jun 23, 2010

Thank you for you help.  Is it possible to convert a pdf to swf dynamically?  If so, what technology? PHP or flash?  Also, would flex help with any of this? Or is flex for a local environment?

Thanks again!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 23, 2010 Jun 23, 2010

you can create pdfs dynamically but i'm not sure it makes sense to talk about converting a swf to pdf dynamically because you can't create a swf dynamically.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 18, 2016 Apr 18, 2016
LATEST

For example, I use Print2Flash library to convert PDF to SWF dynamically. It is possible to invoke conversion from PHP, ASP.NET/C#, Ruby, C++ and other languages. There is a conversion API for this described here: Print2Flash APIs for programmatic conversion of documents to Flash or HTML and for controlling conve... You can take several samples from Print2Flash SDK demonstrating how to implement conversion from various languages. The SDK can be downloaded from Print2Flash - convert or print any printable document to Adobe Flash (SWF) file or HTML or SVG file ...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 25, 2010 Aug 25, 2010

I insist on converting PDF to SWF. Here is a demo http://pdf-to-flash-magazine.com/play.html?dir=English-Brochure-for-kw, click "convert now" to make one yourself.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 26, 2010 Sep 26, 2010

converting by software is an option if you don't mind.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 15, 2010 Dec 15, 2010

You should be able to use getURL("pdflocationhere.pdf"); - but I believe thats totally dependent on how the users computer is set up. If they don't have Adobe Reader, it will probably fail, or will attempt to load the pdf within a modern browser that should have the reader plug-in. From my experience, when using getURL() within a projector, it will attempt to open the filetype based on that specific filetype's default opening program which is set in the OS.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines