PDF downloads instead of appearing in iFrame?

4,530 views
Skip to first unread message

dkerr

unread,
Aug 25, 2010, 11:08:04 AM8/25/10
to Flex-IFrame
iFrame works ok for urls to web pages, but source urls directly to
pdfs cause the browser to download the pdf instead of loading into
into the iframe.

How can I display a PDF inside the iFrame?

Don

Julien Nicoulaud

unread,
Aug 25, 2010, 11:18:47 AM8/25/10
to flex-...@googlegroups.com
Search the group history and issues list.

2010/8/25 dkerr <fusio...@gmail.com>

dkerr

unread,
Aug 25, 2010, 11:23:50 AM8/25/10
to Flex-IFrame
I did before posting. Nothing.

On Aug 25, 10:18 am, Julien Nicoulaud <julien.nicoul...@gmail.com>
wrote:
> Search the group history and issues list.
>
> 2010/8/25 dkerr <fusionp...@gmail.com>

Pradip Jadhav

unread,
Aug 26, 2010, 1:40:32 AM8/26/10
to flex-...@googlegroups.com

Hi,

Please create HTML file that will embed PDF into it using following code.

<embed src="test.pdf" width="100%" height="720"></embed>

And call that HTML file using iFrame.

I think this will help you.

Regards,
Pradip Jadhav

Reply all
Reply to author
Forward
0 new messages