tags:

views:

48

answers:

2

I have a few HTML pages that I want to display in a Flex app. Since Flex has limited HTML support I figured I could convert the pages into PDFs, but since Flex webapps don't support PDFs I am in a bit of a pickle.

The pages I have are HTML, with text & images. What are my options for displaying this in a Flex web app?

I'd like something like a PDF where the user can select which pages they want to print, etc but whatever looks nice & works is fine for now. The freer the better, as I don't want to spend cash.

I don't like the <iframe> approach. It seems too chunky & not reliable.

Thanks!

A: 

FlashPaper can be used to produce a swf that looks like a PDF with much of the same functionality. You should be able to embed this swf in a Flex app easily.

http://www.adobe.com/products/flashpaper/

Sam
It seems alright but I didn't see anywhere where the user can print x page w/out printing the entire document. Other than that, this is the best one I've found so far...unless there are other options I'm missing
ginius
Flash Paper has reached end of life; I'm not sure I'd recommend using it.
www.Flextras.com
How about this one? http://www.devaldi.com/?p=212
kubarium
+2  A: 

Your best bet is to use the iFrame trick to make it appear like your HTML is a part of the Flex App. If you Google "Flex iFrame" you'll find a bunch of information about it.

Also, there is a commercial component from Drumbeat Insight that may help you solve this.

www.Flextras.com
I guess there's a few projects at drumbeat (http://www.drumbeat.org/projects)...which one are you referring to?
ginius
I said Drumbeat Insight, not drumbeat. I was referring to their HTML Component: http://drumbeatinsight.com/htmlcomponent for Flex
www.Flextras.com