Skip to main content
January 31, 2013
Question

Open PDF with Flex Mobile Project

  • January 31, 2013
  • 1 reply
  • 3697 views

I want to be able to read PDFs inside a Flex Mobile Project (I'm working with Flash Builder 4.6 and Android and iPad).

I've tried successfully stagewebview to load a pdf from a web server with this:

webView = new StageWebView(); 

webView.loadURL("http://<url>/Paper.pdf"); 

webView.viewPort = new Rectangle(0, 100,this.stage.stageWidth, this.stage.stageHeight);

webView.stage = this.stage;

But what I really want it's something more visual. I mean, where you can create a flip book, go to page X, or similar. Something like this: http://devaldi.com/zine/NZ_Tourism_2007.php?ro=flash,html

I've already tried FlexPaper, but Zine doesn't work on Flex Mobile Project.

Do you know if there is something to do this? or how can I do this?

Is there any native-extension or something?

Thanks in advance

This topic has been closed for replies.

1 reply

Inspiring
February 27, 2013

I'm looking for the same solution. It seems strange that such a basic thing as viewing a pdf is so hard to do within AIR.

March 11, 2013

Finally, I used FlexPaper but instead of include the component inside a Flex Mobile Project. I've used their documents publisher and I load an url in my application.

http://flexpaper.devaldi.com/docs.htm

Inspiring
March 11, 2013

For my mobile project I need an offline solution. I tried using their FlexPaper SDK inside a Flex mobile project, but it will not work. I thnk their Flex support is limited to Flex web projects only.