[flexcoders] Embed or Load PDF File

2006-12-01 Thread mvbaffa
Hi,

How can I load, on the fly, and/or embed a PDF in one of the Flex 2 
containers or loaders. I have a database of PDF's that should be 
displayed in my Flex 2 application.

I am now working with URL's pointing to these documents that are 
visualized directly in the browser, but I would like to show the them 
embeded in my flex container.

Can this be done 

Thansk in advance



Re: [flexcoders] Embed or Load PDF File

2006-12-01 Thread John Dowdell
mvbaffa wrote:
 How can I load, on the fly, and/or embed a PDF in one of the Flex 2 
 containers or loaders. I have a database of PDF's that should be 
 displayed in my Flex 2 application.
 I am now working with URL's pointing to these documents that are 
 visualized directly in the browser, but I would like to show the them 
 embeded in my flex container.

The Adobe Flash Player does not display the range of PDF files handled 
by the free Adobe Reader and other PDF viewers.

Options for similar effects:

  o  Convert PDF to FlashPaper, which can be displayed in Adobe Flash 
Player, although I'm not sure offhand of invocation via Flex's MXML.

  o  Call up the PDF via Adobe Reader in HTML pages in the usual way.

  o  Possibly surround a PDF viewing area by SWF viewing areas, although 
anything with multiple browsers and iframes and such gets too 
dependency-ridden too quickly.

Your Flex 2 creation can invoke other web resources like PDF files, even 
though it may not display it itself.

jd





-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


Re: [flexcoders] Embed or Load PDF File

2006-12-01 Thread Darron J. Schall
If you would decide to take this approach, consider the recent articles 
I've published on my weblog about FlashPaper and Flex 2 integration:

How to load FlashPaper Documents in Flex 2 - 
http://www.darronschall.com/weblog/archives/000249.cfm
Batch Convert PDF files to FlashPaper 2 - 
http://www.darronschall.com/weblog/archives/000250.cfm

By converting the PDF to FlashPaper, you can load the FlashPaper 
equivalent of the PDF report inside of a container in Flex 2.  It's not 
exactly a trivial process, but it works well enough for my use cases so far.

-d

John Dowdell wrote:

 Options for similar effects:

 o Convert PDF to FlashPaper, which can be displayed in Adobe Flash
 Player, although I'm not sure offhand of invocation via Flex's MXML.