Displaying PDF files

Hello there,
I'm completely new to Flex, so please bear with me. I'm
trying to display a pdf file in Flex. I have the pdf data as a
ByteArray (that has been downloaded from a server) and I would like
to display it in the Flex application somehow, or in another
window, I don't really mind at the moment!
Please note, I do not wish to use the navigateToUrl() method
of doing this because the document is not available from a standard
URL (rather it requires a complex web service call).
Can anybody tell me how to do this?
All help very much appreciated.
Thanks,
Chris

This link might help:
http://raghuonflex.wordpress.com/2006/12/07/flex-i-frame/
matt horn
flex docs

Similar Messages

  • I need to configure Acrobat to display PDF files in Safari, but I have a lot of troubles to do it.I have OX S yosemite, I unistalled adobe acrobat, I closed safary and I installed the new version of adobe acrobat.

    Dear everyone
    I need to configure Acrobat to display PDF files in Safari, but I have a lot of troubles to do it.
    I read a european commission document explaining that
    http://ec.europa.eu/research/participants/data/support/sep_usermanual.pdf
    If Safari does not display pdf forms in the browser window, uninstall all older versions of Adobe Reader and download the most recent one. First close Safari and then install Reader. Launch Safari and you ought to be able to open the pdf files inside the Safari window. If you install Adobe Reader 10.1.x without first closing Safari, Safari will not display the pdf file inside its browser window until it is re-launched. For further help, please see http://helpx.adobe.com/acrobat/kb/troubleshoot-safari-plug-acrobat-x.html
    I have OX S yosemite, I unistalled adobe acrobat, I closed safary and I installed the new version of adobe acrobat
    but when I open a web page that I need to allow me to display and modify PDF files it is not working.
    I checked the following web page
    Troubleshoot Safari plug-in | Acrobat X, Reader X
    that is recommending the following:
    The AdobePDFViewer plug-in is used to display PDF files in Safari using Acrobat and Reader.
    This plug-in is installed as part of the Acrobat X or Reader X installation. The location of this plug-in is:
    /Library/Internet Plug-ins/AdobePDFViewer.plugin
    but after the new installation with this folder is completely empty and I am still
    unable to open these pdf.
    Does anybody knows anything else I can do?
    Best regards
    Ramon

    Moving this discussion to the Adobe Reader forum.

  • Does anyone know why after upgrading to Mavericks, Safari will not display PDF files, is there a solution?

    I cannot get Safari to display PDF files, it shows a blank screen with the comment that Safri has blocked PDF, however when you unblock it still does not show the PDF, I have had to rely on Firefox for this, which I find not too good. Any help very much appreciated.

    Update to 10.9.1
    Adobe Reader
    http://helpx.adobe.com/acrobat/kb/blocked-plugin-alert-safari-7.html
    Best.

  • How to display Pdf file in iPad site

    Hi
    How to display Pdf file in web page which can able to view in iPad safari?
    Thanks,
    Arun

    You can't really.
    You need to use DHTML in the swf-wrapper HTML file, usually a
    division wrapped iFrame, and load the PDF into the iFrame as an
    overlay to the Flash.

  • How to display pdf file in windows phone 8 silver light application?

    Hi,
    I am developing windows phone 8 silver light application . For my app I want to display pdf files . Is there any default controls to display pdf files ?
    I don't want to display using launchers , I want to display with in the app.
    any help,
    Thanks..
    Suresh.M

    Probably this should give you a fair idea : How to view PDF file inside an Windows Phone application?
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • Html db to display pdf files saved as blob in the data base

    Hi all,
    I have a DB page to call next page to display pdf files.
    A procedure is being called when the link is clicked on the first page.
    However, the procedure output a juck code insteand the pdf files. Please help.
    Thanks,
    n_length number;
    n_image BLOB;
    begin
    select note_image, dbms_lob.getlength(note_image)
    into n_image, n_length
    from n100_notes where note_id = nid;
    owa_util.mime_header('application/pdf');
    htp.p('Content-length: ' || n_length);
    wpg_docload.download_file(note_image );

    we use:
    owa_util.mime_header('application/pdf',false);
    htp.p('Content-Length: ' || dbms_lob.getlength(l_blob));
    owa_util.http_header_close;
    wpg_docload.download_file(l_blob);
    see plpdf.com
    LL

  • How to display pdf file with java code?

    Hi All,
    i have a jsp pagein that page if i click one icon then my backing bean method will call and that method will create pdf document and write some the content in that file and now i want to display that generated pdf document.
    it should look like you have pressed one icon and it displayed pdf file to you to view.
    java code below:
    FacesContext fc = FacesContext.getCurrentInstance();
    ExternalContext ec = fc.getExternalContext();
    HttpServletResponse resp = (HttpServletResponse) ec.getResponse();
    resp.setHeader("Content-Disposition", "filename=\"" + temppdfFile);
    resp.encodeRedirectURL(temppdfFile.getAbsolutePath());
    resp.setContentType("application/pdf");
    ServletOutputStream out = resp.getOutputStream();
    ServletUtils.returnFile(temppdfFile, out);
    out.flush();
    and above temppdfFile is my generated pdf file.
    when i am executing this code, it was opening dialog box for save and cancel for the file, but the name of the file it was showing me the "jsp file name" with no file extention (in wich jsp file i am calling my backing bean method) and type is "Unknown File type" and from is "local host"
    it was not showing me open option so i am saving that file then that file saved as a pdffile with tha name of my jsp file and there is nothing in that file(i.e. empty file).
    what is the solution for this. there is any wrong in my code.
    Please suggest me.
    Thanks in advance
    Indira

    public Object buildBarCodes() throws Exception
    File bulkBarcodes = null;
    String tempPDFFile = this.makeTempDir();
    File tempDir = new File("BulkPDF_Files_Print");
    if(!tempDir.exists())
    tempDir.mkdir();
    bulkBarcodes = File.createTempFile
    (tempPDFFile, ".pdf", tempDir);
    //bulkBarcodes = new File(tempDir, tempPDFFile+"BulkBarcode"+"."+"pdf");
    if(!bulkBarcodes.exists())
    bulkBarcodes.createNewFile();
    Document document = new Document();
    FileOutputStream combinedOutput = new FileOutputStream(bulkBarcodes);
    PdfWriter.getInstance(document, combinedOutput);
    document.open();
    document.add(new Paragraph("\n"));
    document.add(new Paragraph("\n"));
    Image image = Image.getInstance(bc.generateBarcodeBytes(bc.getBarcode()));
    document.add(image);
    combinedOutput.flush();
    document.close();
    combinedOutput.close();
    FacesContext facesc = FacesContext.getCurrentInstance();
    ExternalContext ec = facesc.getExternalContext();
    HttpServletResponse resp = (HttpServletResponse) ec.getResponse();
    resp.setHeader("Content-Disposition", "inline: BulkBarcodes.pdf");
    resp.encodeRedirectURL(bulkBarcodes.getAbsolutePath());
    resp.setContentType("application/pdf");
    resp.setBufferSize(10000000);
    ServletOutputStream out = resp.getOutputStream();
    ServletUtils.returnFile(bulkBarcodes, out);
    out.flush();
    return "success";
    This is my action method which will call when ever i press a button in my jsp page.
    This method will create the barcode for the given barcode number and write that barcode image in pdf file
    (i saw that pdf file which i have created through my above method, This PDF file opening when i was opening manually and the data init that is also correct means successfully it writes the mage of that barcode)
    This method taking the jsp file to open because as earlier i said it was trying to open unknown file type document and i saved that file and opended with editplus and that was the jsp file in which file i am calling my action method I mean to say it was not taking the pdf file which i have created above it was taking the jsp file

  • Safari will not display pdf files since installing OS 10.8.2

    Safari will not display pdf files uner Lion 10.8.2

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • Display PDF files in Browser

    How can I display PDF files in my browser. SARS reqire it for e-filing?

    Previous error message was working with Explorer. This came up working with Firefox
    I did upgrade and it was found that the latest version was installed.
    Please wait...
    If this message is not eventually replaced by the proper contents of the document, your PDF
    viewer may not be able to display this type of document.
    You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by
    visiting http://www.adobe.com/products/acrobat/readstep2.html.
    For more assistance with Adobe Reader visit http://www.adobe.com/support/products/
    acrreader.html.
    Regards
    Allen Versteeg

  • IE 7 not displaying PDF files

    WinXP SP3 desktop
    Installed: Acrobat Reader 9 and Acrobat 6.0 Professional
    Up until recently, when an update from MS and adobe were installed, Internet Explorer 7 has been displaying PDF files when clicking on a link to the document. I do not know which company is at fault for compatibility here, but I would prefer to have IE7 read/save PDF docs. As it is now, an window pops up (no error number) saying "The Adobe Acrobat/Reader that is running can not be used to view PDF files in a Web Browser. Adobe Acrobat/Reader version 8 or 9 is required. Please exit and try again." I click the OK button then Acrobat 6.0 Pro loads and with no document showing. Simply turns on. I open any PDF file manually using either Reader 9 or Pro 6, but IE7 will only come up with above msg.
    Corrective actions attempted were:
    1) Reinstall Reader 9 on top of itself.
    2) In Pro 6, Edit | Preferences | Internet and deselected "Display PDF in browser, restarted program, went back to re-select it, restarted program.
    I did notice a new process running named: wisptis.exe
    The error message above sounds more like to me that the Pro is assigned the job to read downloaded PDF files, but with the Web Browser Option set to "Display PDF in browswer", I do not know why IE7 is not reading them.
    Thank you for your help in advance.
    Kay

    Try troubleshooting the Safari .plist file.
    Quit Safari.
    Open a Finder window. Select your Home Folder in the Sidebar on the left. It has a small house icon. Then open the Library folder then the Preferences folder.
    Move the com.apple.Safari.plist file from the Preferences folder to the Desktop.
    Launch Safari. See if that made a difference.
    Also, check Safari / Preferences - Extensions. Make sure it's not an Extension preventing PDF's from rendering.

  • Displaying PDF file in forms running on UNIX server

    I want to display a PDF document in the form.
    I have explored the following two options:-
    1) Using Image item - PDF format is not supported by forms
    2) OLE - Is supported only on WIN and MAC
    Does any body know of any reusable java bean that can be used to display PDF file inside the form?
    Thanks

    Java Beans only work on the Web. If you are on teh Web then an option would be to reference to the pdf document by using web.show_document() built-in
    Frank

  • Displaying PDF file in Flex application

    Hello,
    Is there any way, by which I can read/display PDF file as it is in Flex application (Web based). Is there any way or work around by which I can achieve
    this.
    Awaiting for prompt response.
    Thanks and Regards

    Hello Mariush,
    I have to display the content of the PDF in the flex application. If not PDF directly, is there other workaround for this. Or can I display the content of the MS word file, if not PDF.
    Thanks and Regards
       Khalid Chaudhary

  • Display pdf file using webdynpro abap

    Hi Friends,
    My requirement is to display pdf file in the second page with the input  text  entered in the fisrt page when clicked on action
    button( in the first page) using webdynpro abap.
    Can anybody explain the step by step procedure as I am new to this area.
    Thanks in advance.
    Reagrds,
    Nagaraju

    Hi,
    Check this.,
    Creating a PDF file in webdynpro abap.
    Web Dynpro ABAP display pdf
    hope this helps u.,
    Thanks & Regards
    Kiran

  • Safari does not display PDF files?

    My Safari browser does not display pdf files.  Whenever a site I'm reading links to a pdf file, a new page open in black but without content.

    Try this ...
    Open a Finder window then from the menu bar click Go > Go to Folder
    Type or copy paste the following:
    /Library/Internet Plug-Ins
    Click Go.
    If you see the:  AdobePDFViewer plugin in the Internet Plug-Ins folder, move it to the trash.
    Restart your Mac and try opening a PDF file.

  • Safari quit displaying PDF files - why?

    Safari used to display PDF files OK, but it has quit doing so. I'm not aware of anything I did to cause this. When I click on a link to a PDF file, it opens a new window with the URL for the file, but the window is blank. Safari has the PDF plugins Anyone else have this problem? Any ideas?
    Mac 500MHz Dual PPC   Mac OS X (10.4.7)   Safari 2.0.4

    Welcome to Apple Discussions
    Sometimes the presence of Adobe Reader plug-in can cause conflicts. If you have this plug-in in your Internet Plug-in folder, move it to the trash.
    Next, I suggest you download a copy of PDF Browser Plug-in. It's freeware when used for personal purposes. I find it more useful than Apple's way of displaying PDF pages.

  • Why does Safari 5.1.7 not display pdf files anymore?

    Why does Safari 5.1.7 not display pdf files anymore? Please fix!

    I have this problem too except I see the pdf but it does not print.

Maybe you are looking for