Open a PDF file embedded in my app ?

Hi,
In the resources of my application, I can easily embed a PDF file just like I would embed a large mp3 file , video or photo's
But.... can I somehow call some code in as3 which then opens that PDF file on the ipad ? So for example I have a book (in PDF) containing +- 20 pages and when I click on a button of my air app, I want to have the ipad open the pdf file and show it onscreen.
Possible ???
Kind regards,
Bart

Sir,
import flash.media.StageWebView;
    public class Main extends MovieClip
        private var swv:StageWebView = new StageWebView();
        public function Main()
            swv.stage = stage;
            swv.viewPort = new Rectangle(0, 0, 1024, 768);
            swv.loadURL('http://www.google.com');
This seems to load up and display google.com website fullscreen on my ipad (have to test tonight),
But you talk about getting the nativepath of my file. Since my file will be included as a resource inside my IPA, I cannot access it over HTTP://
If my file is called "mybook.pdf" and is included in the root folder of my IPA, just besides the Default.png file, then could you please tell me how I can get that nativepath ?
Kind regards,
Bart
PS And Do I have to create this using an external class or can I just as well include the lines below in a flash as3 on the timeline ?
import flash.media.StageWebView;
var swv:StageWebView = new StageWebView();
swv.stage = stage;
swv.viewPort = new Rectangle(0, 0, 1024, 768);
swv.loadURL('http://www.google.com');

Similar Messages

  • How do you open a .pdf file embedded in an e-mail?

    Good evening,
      I used to be able to click on an attached .pdf file in an e-mail and it would open, but it no longer opens.
      Can someone please suggest a solution?
      Thank you.

    Bo Donohoo wrote:
    Mr. Linc Davis,
      Good evening.
      Thank you for your help.
      Does the above screen shot show up?
      It says "How would you like to open this PDF document?"  Then there are three choices "open/edit in PDFescape, open normally, cancel".
      I always choose "open normally" and the file would open (I think using Preview).
      I can't open .pdf files attached to e-mails (in gmail) or on a website.
      I can send you a hyperlink if you want.
      Thanks again for your help.
      This is very important...
    Vr,
    Bo
    Your screenshot is still not showing up.
    Pete

  • I can't open a PDF file with password with my iphone app

    I can't open a PDF file with password with my iphone app, the app send me an error, but the password is correct. This only happend in the new version of iphone. In the latest version I didn't have this problems.

    Can you please share the file with us at [email protected]? Also, can you please confirm that you are viewing the PDF in the Adobe Reader app rather than an app like dropbox, Mail or Safari?

  • Published Project for MAC (.app) and will not open external PDF files

    I have two captivate (7.x) projects that I published as Win .exe apps, and they work fine.  Published the same two projects as MAC (.app) and when I run the app on the iMac, and click a click box to open an external PDF, nothing happens. The PDFs are located in the "root" folder with the .app file.
    Any suggestions?
    Thanks!
    JackL
    Windows 7
    Adobe Captivate 7

    Thanks for the feedback. I was able to open some PDF files on Acrobat 5 that I recently scanned at a Fed Ex office with no issue whatsoever. I could extract pages, delete pages, etc, the software Acrobat 5 worked fine.
    What I wonder is there a way I can make a change to a PDF file that will then allow me to open it in Acrobat 5? I have a gut feeling there is an adjustment that I can make in Adobe Reader after opening it that will then make the file accessible in Acrobat 5. I am playing with it but no luck thus far.

  • Ipad Dropbox app cannot open some pdf files

    my Ipad Dropbox app cannot open some pdf files. The blue download bar appears and when download is complete, the wheel spins and spins and nothing happens.
    Some files are password protected. until recently, the password window would open. Now it does not. The wheel just spins and spins and the file does not open.
    AN email attachment (pdf) which I opened in Dropbox on my iPhone opens fine.  Files saved in Dropbox from my desktop won't open. This is true for pdf and MSWord files.
    I'm running iOS 7.1.2 (11D257)

    Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps BEFORE doing the reset.
    Should that fail, you might delete and reinstall the app.

  • I cannot open this PDF file in Acrobat 8 Pro or in Acrobat Reader on Windows 7 64-bit

    I have a PDF file that I could open on my Windows XP 32-bit laptop in Acrobat 8 Pro or in Acrobat Reader.  I then upgraded to a Windows 7 64-bit laptop.  But now in Win7-64, I cannot open this same file using the same apps (Acrobat 8 Pro & Acrobat Reader XI). 
    When I try to open it in Acrobat 8, it does not load and instead a popup windows appears saying -
    Adobe Updater
    Some components needed to complete this operation are missing but information about them may be available on the Adobe website. Would you like to search the Adobe website for the missing components? 
    And I can choose either the OK or Quit buttons.  When I click OK, a web browser starts and goes to this website -
    http://www.adobe.com/special/adobe_update_manager/?type=Filter&name=FOPN_foweb&version=0.0 .0.0&lang=en_US&os=Windows&osver=6.1.7601&appid=acrobat8pro-en_US&cpu=intel
    This webpage says -
    Adobe Update Manager
    Adobe cannot locate the requested plugin. New plugins will be listed on this page. Currently there are no plugins.
    So now I am stuck, no direction to go.  I am left without any solution from Adobe for Acrobat on this file.
    When I try to open this PDF file in Reader, it does not load and instead a web browser is spawned loading the webpage -
    http://plugin.fileopen.com/Default.aspx?bhcp=1
    This is the FileOpen Plug-in for Adobe Acrobat/Reader, which prompts to -
    Please click OK to download the FileOpen Plug-in Installer for Adobe Acrobat/Reader 
    I click on OK, download and run the Installer file, accept the terms, and installed the FileOpen Client (x64) B928.  Upon completion, it prompts to Finish.  But it does not automatically bring Reader up or try to load the file.  So I try again to load the PDF file into Reader.  But once again, the file does not load and the web browser is spawned loading the same FileOpen Plug-in Installer link.  I click OK again, and start the same FileOpen Client process.  This time, it recognizes that I have FileOpen Client installed, and the window gives me two choices, Repair or Remove.  So since I apparently need this Plug-in, I choose Repair.  The process seems to complete the Repair.  But when I try to load the file, it still brings me back to the FileOpen Plug-in webpage.  So now I am stuck again, and left without any solution from Adobe for Reader on this file. 
    I tried Adobe support.  But apparently Adobe does not support past releases of their products (Acrobat 8), and also does not give free support for the current version of their free products (Reader XI). 
    Can this be fixed? 

    How is Acrobat 8 not fully Windows 7 compatible?  I see discussions on this Adobe Community saying how Acrobat 8 does work on Windows 7 and with 64-bit.  It appears that if Acrobat 8 is updated to the latest version, then this should fix AA8-Win7 issues.  And I am at the latest AA8 version, 8.3.1. 
    And how are Acrobat 8 and Reader XI are not compatible?  I have always had Acrobat and Reader installed on the same PC, without ever having any issues.  And Adobe allows the installation of one after the other.  So apparently Adobe allows them both to exist together.  If they are incompatible, then why would Adobe allow them to exist together? 
    Anyway, I did uninstall the FileOpen Plug-in and the Reader XI, then reinstalled the FileOpen Plug-in.  So now Reader is not installed and only Acrobat 8 is installed.  I then tried to load the PDF file, but I still get the Acrobat 8 error described above. 

  • How to open a pdf file in Acrobat Reader from a webdynpro application

    Hi,
    I need to open a pdf file stored in the server from a web dynpro application. The pdf needs to be opened in the stand alone reader at the client and not in a reader embedded in the browser.
    Cheers,
    Krish

    Hello,
    I'm fairly new to webdynpro and am trying to  render a pdf via webdynpro.
    The webdynpro application runs but I see only a blank screen with the title.Is there any specific setting I need to do in order to view this pdf?I have used the FileDownload-UIElement.
    Thanks in advance
    Biraj

  • How to open a pdf file and then attach it with images

    I am new to Indesign Server.
    I'm currently working on a pdf.
    I have a white blank pdf template.
    that I want to attach/glue it with images.
    How to open a pdf file and then attach it with images.
    Please, help me.
    Thanks.

    First step would be to make yourself familiar with InDesign desktop version.
    Whatever you intend to achieve, do it there manually. (see regular app docs or forums)
    Then try to automate your steps with scripting (see scripting docs or forum)
    If you can do it with a script in the desktop version, that script will likely also run in ID Server. (see server forum).
    If you can specify missing features not achievable thru scripting or manual use, reconsider to write a plugin (this forum).
    A seasoned C++ programmer will need a few months to learn the basics, wade thru tons of documentation etc. Alternatively consider to hire a consultant to do the development work for you.
    Dirk

  • 'failed to open the PDF file' error - Indesign CS3 on Mac

    Hi,
    Whenever I place PDFs that were created by any other app besides indesign or Illustrator I get a 'failed to open the PDF file' error, previously these PDFs were fine to place but all of a sudden they're not... Help?
    I'm not too keen on opening in Illustrator and resaving for the rest of the foreseeable future either...
    Jared

    Thanks for the reminder, Scott.
    http://indesignsecrets.com/failed-to-open-pdf-error-show-options-to-fix-it.php
    Bob

  • How do I open a PDF file with Adobe Reader if it is in iBooks

    I have a number of PDF files in my iBooks library.  I just downloaded Adobe Reader for the iPad.  I can't see how I can open those PDF files.  The only thing I seem to be able to do with them is to open them from iBooks directly.  Doing that does not provide me with the features that Adobe Reader would provide (such as searching for particular text, etc.).

    Use iTunes to save the PDF FROM iBooks, and to add them to Adobe Reader.
    Connect your iPad to your computer. Bring up iTunes on your computer.
    To save a PDF FROM iBooks, click on "Books" in the Library section on the left. Select the PDF you want to save and right-click and choose Show in Finder (Show in Explorer in Windows). Go up one level in your computer hierarchy and you'll see all the "Books" (PDFs and eBooks) in iBooks.  You can leave them here if you want to view the PDFs in iBooks in the future, or drag them to the Desktop.
    To move the PDF TO Adobe Reader:
    Return to iTunes. Click on the iPad on the left in Devices. Click on the Apps tab. Scroll down the the File Sharing section as shown below. Click on Adobe Reader. Click the Add button and select the PDFs you identified in the previous step. They'll be added to Adobe Reader

  • HELP! opening a pdf file and using page view

    Hi everyone!
    I'm doing a school project in which I'm trying to develop an app that opens a pdf file from the device memory (ipad or iphone) and lets the user turn pages forward and backward by swiping on the screen. Although I have very basic knowledge of C++ and Objective C programming, I find myself completely lost and don't know how nor where to start. I'd be pleased if you could help me or at least give me a starting point to develop my app.
    Thank you
    Albert

    https://developer.apple.com/library/ios/#samplecode/ZoomingPDFViewer/Introductio n/Intro.html#//apple_ref/doc/uid/DTS40010281

  • TS1702 iBook crashes opening a PDF file on my iPod touch.

    Any solution to the constant cashing if iBooks when trying to open a PDF file.
    I just want to save the file to my iPod and I don't care which app I should use.
    Trying iBooks and Adobe Reader. AR opens but how to save?
    Thanks.

    Try the following:
    - A reset. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Delete iBooks and reinstall
    - Restore from backup
    - Restore to factory settings/new iPod.
    If you still have the problem that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order

  • How to open a PDF file using NWDS or VC

    Hi Frndz...
    As per my requirment i need to open a PDF file on browser which PDFs are reside on R/3 and in my case EP server is on UNIX usinig either NWDS or VC ....
    Thanks in Advance
    Regards
    Rajesh
    09903726944

    hi,
    can you put your question much more clearly? I couldnt get you properly.
    Check out the following links, they may be useful
    [How to Create a pdf form Using Web Dynpro - Java;
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/805709cb-ec97-2910-04b8-f3d6303d8d3b]
    [Diff - PDF view inside NWDS livecycle designer and when App. is run;
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90e8e837-cc15-2a10-8db1-a87e2d29e9c9]
    Regards,
    Murthy.

  • How to open a pdf file using OPEN DATASET

    Im trying to convert a pdf into binary format. So im trying to read the contents of the pdf into a XSTRING. Using the FM 'SCMS_XSTRING_TO_BINARY' i can convert the XSTRING to binary format.
    How to open a pdf file using OPEN DATASET and transfer its contents in a XSTRING variable.
    What i've tried is....
    DATA: f_name type string value 'C:\rep_output_pdf.pdf',
          x1 type xstring,
          LT_DATA TYPE STANDARD TABLE OF X255.
    OPEN DATASET f_name FOR input IN BINARY MODE.
    READ DATASET f_name INTO x1.
    CLOSE DATASET f_name.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER     = x1
        TABLES
          BINARY_TAB = LT_DATA.
    Im getting a short dump .
    Short text: The file is not open.
    Plz help me out.

    Hello Rajesh,
    You are trying to do use OPEN DATASET with a local file. NOT POSSIBLE
    You have to have the file in the app server to use OPEN DATASET.
    BR,
    Suhas

  • Preview can't open any pdf file

    PDF documents are greyed out in the open menu.
    Setting Preview as the "open this document with..." app in the get info window gives the message that "it's not known if this application can open Adobe PDF files"
    At the same time, Safari started crashing on being asked to open a PDF file.
    I've reinstalled Safari, grabbed Preview from a Time Machine backup from when it worked, reinstalled the developer tools in case they wrote over webkit, trashed all preferences and rebooted. No joy.
    I looked at the document types list in Preview's info.plist and the entry for com.adobe.pdf is in there. I've opened an eps file in Preview and saved it as a pdf; I can then open that pdf in Acrobat, but not in Preview (even though it appears in the "recent documents" list.)
    What am I missing?

    Create a new admin user account, log into it, and see if the problem persists. If not, report back. If so, download and install the 10.6.3 COMBO update. If that doesn't fix the problem, reinstall SL, and if fixed, run Software Update until you're back to 10.6.3. If still no go, run this one-line Terminal command and restart:
    */System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user*

Maybe you are looking for

  • Cant make Payment in AP - Sql -10006

    Hi all, Am just getting starting within oracle financials 11i, and i came across this problem... I have setup my AP and created 3 invoice batches which as seen validated yet when i try to make payment i get the following error"APP-SQL - 10006: the da

  • Can I change the word "permalink" in "Blog Post List Layout"

    What I actually am trying to achieve is a "read more" button that I can style. The only tag I found is the {tag_permalink}. I can put this in a div for styling. But it results in a button with the word "Permalink" which is confusing. Now I am looking

  • How to filter with mime types

    Again thanks for the help getting up and running. Now that I am up and running I know my task at hand and I have comleted most of it except for a couple of things. Here is my task: To have 1 URL filter lists. Lets call it WhiteList-special. What my m

  • I am not able to upload my iMovie video to youtube?

    I am not able to upload my video created in iMovie11 to you tube. I have tried different extentsions, quickplayer, avi, mpeg, all to no avail. Are there any suggestionsn I have generated similar video in Camtasia in Windows computer and it works fine

  • Ayudaaa..!!! Con correo de recuperacion de respuestas de seguridad

    Olvide las respuestas de seguridad y ahora que intento comprar algo me las pide Ya no se que hacer xq me voy a. Mi cuenta y le doy click en un link donde segun me enviaran Las respuestas de seguridad pero jamaz que me llega ya busque en todos lados y