Viewing a pdf file in Flex 4?

I've been searching on the Inernet to find out whether or not it is possible to view a PDF file (which will be stored in the server itself) on the client side...
In the flex AIR they've a built in support to view a pdf file..but I'm not able to find out the same for Flex WebApplication (RIA)....
how to open a pdf file on the client side, I did understood the logic for transferring the file on the client side using HTTP class but the problem here is how the client will open the pdf file...Do i need some API to open it??
Any help on this guys ???

Hi,
just open with navigateToURL
navigateToURL( new URLRequest( 'myFile.pdf' ), '_new' )
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/package.html#navig ateToURL%28%29
Johnny
Please rate my answer

Similar Messages

  • Hi. Is it possible to load/view a pdf file in Flex application?

    Hi,
    Can we load a pdf inside a flex web application (not AIR)? If yes, how to we interact with the loaded pdf using javascript?
    Appreciate your help.
    Thanks
    Mahesh

    No, you can't directly load a pdf inside a flex web application.  You can use the external interface to open one in either an iframe, or a new tab/window in the browser.  Then you can use external interface calls (javascript calls to the host browser) to interact with the loaded pdf.
    Mark

  • ~~~how can i view a pdf file in a servlet?~~

    hi..
    i just need to view the .pdf files in a servlet page.all the pdf files are stored in my web module(i am using the glassfish server).can anybody tell me how to do it?
    thanks a lot....

    Provide a link? I mean, linking a PDF in an HTML page is hardly a Java programming problem.

  • Mavericks 10.9.1. Freezes or trackpad becomes slow and unresponsive when viewing downloaded PDF files in Preview.Help!

    The earlier post was my first attempt at posting and had some typos. Repeated with typos corrected.
    I have a Macbook Pro Retina 13" Late 2013 with preinstalled Mavericks.I now have the 10.9.1 update. Almost from the time of purchase in Nov '13, I have been experiencing freezes and slow & unresponsive trackpad. I have more or less narrowed this symptom as happening when viewing downloaded PDF files. The only option is to force eject, if available or shut down. I spoke to Support as I thought it was a RAM issue and they told me that in Mavericks RAM showing almost full was normal as it uses RAM differently. They took me through some resets and cleaning up which has helped a little but freezing stll happens. This never happened with my Macbook AIr running Lion. Any suggestions?
    Shankar9
    Macbook Pro Retina 13" Late '13-Mavericks 10.9.1
    Macbook Air 13" Mid '11-Lion
    Macbook Aluminium 13" Late '08-Snow Leopard

    So a PDF file that you can view in Preview on your MBA causes your new MBP to lock up and/or slow down. Is this right? Also you say more or less narrowed down to PDFs with Preview but does the computer exhibit this behavior with other programs and if so under what conditions? And how much free hard drive space do you have?
    Viewing memory use in Mavericks is different than with previous versions of the OS. Today it looks like we need to pay attention to what Apple calls Memory Pressure which is gauged by the bar graph in Activity Monitor and to the Virtual Memory being used. When the memory pressure graph bar gets too high it turns red and that's bad news. Looking at how much memory is being used doesn't help - I have a 16GB computer and with almost nothing running it still shows something like 15.79GB used but the memory pressure graph is just a think green line. So unless you see the memory pressure bar turning red lets not worry about memory usage at the moment.
    If among the things AppleCare had you do was reinstall Mavericks then I recommend a trip to the Apple store - and take a problem PDF file with you to demonstrate.

  • Iphone 3G Software Update Fixes security vulnerability associated with viewing malicious PDF files?

    Is there an Iphone 3G Software Update Fixes security vulnerability associated with viewing malicious PDF files?  Latest version I can download is 4.2.1
    I assume no fix is available, does anyone know if I'm still vulnerable to the security bug?

    No fix is needed since that vulnarability isn't in 4.2.1.

  • How to display pdf file in flex application

    hi,
    I am Ibran, I am using Flex4.5, in that i want to display a pdf file like images.
    How can i do it please anyone tell me.
    I have used navigateToURL(url),but this was going into navigation and i can't see my textfield and buttons.
    So without this  navigateToURL(url) how can i display a pdf file in flex without navigation so that i can see my textInputs and buttons.

    Flash does not have the ability to load/display/manipulate PDF files, so you can't open it directly in the flex application.  With clever HTML and javascript, you can make it appear that it is in the same window, but it will actually be in a separate window/div in the browser.  And yes, this has always seemed absurd to me that Adobe doesn't support PDF's......
    Mark

  • Problem in viewing a pdf file in android adobe reader

    Hi All,
    I am having a problem in viewing a pdf file in android adobe reader, the problem is that in pdf file there is a table that has some text, when I view the pdf file in android abode reader then the text inside the table is not shown but when I view the same file in windows adobe reader everything is fine i.e. the text inside the table of pdf file looks fine.
    Please tell me is this the issue regarding android adobe reader or related to PDF stream? Please address the issue as soon as possible.
    Kinds Regards
    rha

    Can you please share the pdf file where you are encountering the issue?

  • How can I store and view a pdf file ?

    I have an iphone 3GS 32Gb and want to store a pdf file on my phone so that I can view it later.
    Email is the only way I have been able to view my pdf file, but I dont really want to do it this way.
    On previous phones I could save a file on the phones memory card and then open the file in the necessary app.
    This is something I know the iphone doesnt do, but I was wondering if there is a way around it or an app.

    sky_rat wrote:
    Which is the best of those apps, can you recommend any ?
    [File Magnet|http://itunes.apple.com/gb/app/filemagnet-read-and-e-mail-your/id2847971 61?mt=8] is pretty good.
    I did find one app (I cant remember the name, thought it was Air Share) and it said Apple had told them to change the app so that you cant transfer files over USB, only Wi-Fi.
    I think that was [FileApp|http://itunes.apple.com/gb/app/fileapp-previously-fileaid-document/id2 97804694?mt=8], (previously File Aid).
    Apple dont like people being able to use their phone like this.... bloody control freaks.
    You can vote with your feet remember.

  • How can I disable viewing of PDF-files in browser in Adobe Reader XI?

    Hi everyone
    After I have upgraded to Adobe Reader XI, I not longer can find the checkbox under settings>Internet, where I can disable that Adobe Reader XI viewing PDF-files in my browser.
    If I instead press on the button, I can see in the dialog box Adobe refers to an article there give me instruction to turn off the viewing of PDF-files via my browser settings. When I follow these instructions, I can see that the plug-in to Adobe is disabled when I not viewing PDF-files in my browser, and enabled when I viewing PDF-files in my browser.
    Therefore:
    1. Why has Adobe removed the checkbox where I can disable viewing of PDF-files in my browser?
    2. How can I now disable and enable viewing of PDF in my browser?
    My operating system is Windows 7 64-bit, and my browser is Internet Explorer 8.
    Very thanks.
    Regards,
    Boholdt

    Hi again
    I have read the article, but I can still not find the plugin I should
    disable in Internet Explorer 8.
    If I see a PDF-file in my browser, I can select and disable a plugin called
    PDF Adobe Reader, but next time I open Internet Explorer 8, I not can see
    the plugin.
    Another method is between the guide for accessibility
    (edit>Accessibility>Setup Assistant. On screen number 4, you can find the
    checkbox.
    Since I am blind, I can find the assistant.
    For my interessting, it is possible for sighted users of Adobe Reader to
    find the same assistant?
    Very thanks.
    Regards
    Boholdt
    [auto-quote deleted by host]

  • Firefox closes when I try to view a pdf file

    when I try to view a pdf file a warning comes up and firefox closes

    I am not sure what is happening, but if you are unable to open pdf file whilst they are on your computer, it is unlikely that you will be able to open pdf files that are on the internet.
    I am not sure your problem is with firefox, because it seems you may not be able to open pdf files even with another application such as Adobe Reader.
    The runtime error message is probably generated by your OS Vista, and indicates you have a problem with whatever you are trying to run.
    * see [http://windows.microsoft.com/en-US/windows-vista/What-is-a-runtime-error MS link] '' " What is a runtime error? " ''
    Post back again once you are able to open ordinary pdf files that are on your computer.
    * see also [http://www.adobe.com/uk/products/reader.html Adobe Reader website]

  • I cannot view a PDF file with the script in Adobe Garamond Pro on my iPad.  Can anyone help?

    I cannot view a PDF file written using Adobe Garamond Pro font on an iPad.  Can anyone help?

    Thanks for writing to us. Unfortunately, such advanced javascript support is currently not provided by Adobe Reader for Android.
    Thanks,
    Adobe Reader Team

  • How to view a PDF file

    Hey, i was wondering if anyone knew how to view a PDF file in Java? I'm trying to make a button that will open a PDF file. Is there any other way without downloading an extension?

    Kandyman wrote:
    The thing with downloading extensions is that they are not free. Some are trial version. iText and Jasper are probably free and stable to a great extent. Plus they allow you to play with PDFs, Excel, Bar charts, Pie charts, CSV etc etc without the hassles of the heavyweight Swing.
    - Vaibhav Beohar

  • The scroll function on my mousepad is disabled when viewing a pdf file in firefox version 5.0. The scroll works on the pdf, but not on the other tabs. When the pdf is closed, the scroll function returns to normal. Any ideas?!

    The scroll function on my mousepad is disabled when viewing a pdf file in firefox version 5.0. The scroll works on the pdf, but not on the other tabs. When the pdf is closed, the scroll function returns to normal. Any ideas?!

    Hey thanx for the help, it worked like a charm.
    I think firefox changed the application lay out, as I used to be able to choose my PDF opener from the list at " Adobe Acrobat Forms Document' where I could choose Nitro-PDF reader, but it has now moved all the way to the bottom like you suggested to the obvious place of "Portable Document Format" section.
    If someone didn't tell me , I wouldn't have scrolled all the way down to be able to find it... it really should be with all its cousins up the top...
    Cheers again..

  • How can I view a PDF file on my IPad? I only get the first page.

    How can I view a PDF file from my Ipad, both in email and Internet links? I only get the first page.

    Support for viewing PDFs in emails and web-pages is built in to the iPad. You need not have bought an app for that.
    There are PDF apps that provide more features than the built-in functionality, but for basic viewing of multi-page PDFs no app is required.

  • I am trying to view a PDF file and cannot see past page 2, I am trying to view a PDF file and cannot see past page 2

    I am trying to view a PDF file that has 22 pages and I do not know how to go thru the pages, it will not let me scroll down past page 2 or go to the next page.

    If you are using the built-in PDF viewer, you may have to swipe right or left instead of up and down. I recommend Goodreader as a third-party viewer if you want one.

Maybe you are looking for

  • Fatal error in data pump import

    Hi Please help me in solving this error while importing data from dmp file Import: Release 10.1.0.2.0 - Production on Thursday, 15 February, 2007 3:54 Copyright (c) 2003, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Editi

  • Deleting an order line item with B1WS?

    Hi, I am building an application which uses B1WS as it's interface to DISERVER.  There is a situation I am confused about and am hoping the folks here can shed light on. I have an order object, and I would like to delete a line item from it. How can

  • Managing/viewing Premiere Pro reviews

    I have a couple questions regarding managing and viewing reviews that are uploaded from Premiere Pro CS5: Is the only means of navigating through the "parts" of a particular review the up and down arrows and the "# of #" box in the upper left corner

  • What is the need of Message Type

    Hello every one,        I am new to XI but i have involved in XI project. I am having a question like we need DATA TYPE as it contain the whole structure we need  MESSAGE INTERFACE as it will say whether the communication is SYN ,ASYN , INBOUND , OUT

  • Does flex/actionscript support SOAP MTOM?

    as titled.