How to display PDF file, inside the SWF file or flash exe file

I  have create the application for Employee details using flash actionscript 3.0
This application is to view the organization employee details, iam using the tree component in this application,
the tree component is to get the dada via xml file, this xml file save in the remote server ,
I display the PDF file inside the swf file to using " StageWebView" class . Then i goto Publish Setting to change the  player Adobe Air 2.6 and run the flash file using
ctr-l + Enter . It is work correctly the PDF file is Displayed inside the Swf Output. But I Publish this file to exe . then i run the exe it is not working .
The application is run The xml data is onely get and displayed the Tree component then i click the tree item employee name the xml data in not display and the pdf file is not open .
Pls Help...................

hi i need to display the pdf file inside the swf file or flash exe file .
I use the navigateToURL class this is open the pdf file on the browser. I want to display the pdf file in the swf window .
Please suggest.

Similar Messages

  • 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 read some files inside the jar

    Hi,
    I have an applet that runs with JWS. The user can input some information and then I need to show this information in a web page. As the application can be run offline, I cannnot use JSP�s to generate the web page. The information is saved in a xml file, so I use a xsl parser to generate the html code. The problem is that I have to include some javascript files (.js). I put these files inside the jar, but, how can I read these files, or how can I reference these files from inside the html page ?
    Thanks !

    You can use getClass().getResource(classpath)
    to get a stream version of the data from your
    jar file. If you need to put it in a file, you
    can write that stream to a file in a temp directory.
    classpath is the classpath of your js file

  • How to read, write file inside the JAR file?

    Hi all,
    I want to read the file inside the jar file, use following method:
    File file = new File("filename");
    It works if not in JAR file, but it doesn't work if it's in a JAR file.
    I found someone had the same problem, but no reply.
    http://forum.java.sun.com/thread.jsp?forum=22&thread=180618
    Can you help me ? I have tried this for all night !
    Thanks in advance
    Leo

    If you want to read a file from the JAR file that the
    application is packaged in (rather than a separate
    external JAR file) you do it like this ...
    InputStream is =
    ClassLoader.getSystemResourceAsStream("filename");Better to use
    this.getClass().getClassLoader().getResourceAsStream();
    From a class near to where the data is. This deals with multiple classloaders properly.

  • To open a Excel and Doc file inside the AIR application

    How to open a Excel and Doc file inside the AIR application.  I have opened the PDF file inside the AIR application.  But i got stuck in opening the Exce and Doc file.  Please help me in this issue.

    AIR does not support this inherently. However, you could write code to parse these file formats. For example, the following is an ActionScript 3.0 library for reading and writing Excel files:
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1375018

  • How to display PDF in JSP using Iframe

    Hi All,
    I am using Struts 2. I am building my file in ActionClass with seperate Method like getGeneratedPDF() in which, I am setting header of response and writing into PDF.
    This method will be called from JSP by this way
    s:property value="getGeneratedPDF()" />
    But It displayed Junk Characters , and this PDF is not static (already Generated). It is generated and build on Fly.
    I have 2 questions 1 -- How to display PDF in JSP in proper way without Junk Character in it?
    questions 2 -- How to display it in Iframe?
    Please help me , If you know the solution.
    Thanks in Advance,
    Jimmy

    jamy_26 wrote:
    But It displayed Junk Characters , and this PDF is not static (already Generated). It is generated and build on Fly.A PDF file is a binary file, not a text file, and you're trying to display it as String. Of course you would get "junk characters". Have you ever tried opening a binary file (pdf, doc, jpg, xls, etc) using a text editor like Notepad?
    I have 2 questions 1 -- How to display PDF in JSP in proper way without Junk Character in it?Display it as binary stream, not as text stream. You can display it standalone, just let the link/form/addressbar URL point to some Servlet which writes the InputStream of the PDF file to the OutputStream of the response, along with a correct set of response headers (at least content-type, content-disposition and content-length), so that the browser can open it in the correct application (which is usually Acrobat Reader). If you want to embed the PDF file in a JSP, then one of the ways is indeed using the HTML <iframe> tag.
    questions 2 -- How to display it in Iframe? Just let the iframe URL point to the aforementioned Servlet.
    You can find here an example of a generic file servlet, you may find it useful to get the idea how to do it: [http://balusc.blogspot.com/2007/07/fileservlet.html].

  • Making xml playlist to play swf files inside one swf

    Hi,
    I have made an swf file and xml playlist.
    I want to include swf filepaths in xml playlist so i would be able to choose from my the list, which file i want to play.
    My list-component reads data from the xml, but i cannot get the swf files open there.
    I will attach my .fla file so you understand what i'm talking about.
    the .fla:
    http://www.mediafire.com/file/m24dz0gmzwz/Untitled-1.fla
    xml file:
    http://www.mediafire.com/file/gdyzzymy5mn/swfList.xml
    would you guys look at my files? i know i can play .flv files but i want to know how to play swf files inside another swf. The swf files should be loaded to  by the xml list.

    Hi
    we want to give some clarifications
    As per our requirement we need to play same swf file ( about
    5 in number) always.
    These swf files are kept in some folder and during run time
    we need to play these swf files inside our Mac / windows
    application using flash player.
    we don't need to play any swf file, but the same swf files
    we need a api / sdk to implement this
    Any help will be very well appreciated
    Sudesh

  • How can I publish artwork inside the artboard only?

    How can I publish artwork inside the artboard only?
    As I don't want to show anything outside the artboard when I publish it.
    Also, how can I make the published swf file fit to the artboard size? As I don't want to show the white area outside the artboard.
    Hope someone could help! Many thanks!

    One thing I have noticed is that when you embed the .swf, if you don't designate the widht and height, sometimes you will see some of the extra outside the artboard. For example:
    I uploaded my published files to www.website.com/flash and my .swf is at www.website.com/flash/Main.swf. If I just use that url I will see the extra from Main.swf. However, if I create a page where I embed the .swf, like www.website.com/main.html, I no longer see it.

  • I want to download an invoice template. How can I then fill in the template and place in a file?

    I want to download a template of an invoice. How can I then fill in the template and create a separate file?

    template in Word format? Excel? PDF? a little more information please.

  • After I've heard an audiobook downloaded from the public library, how do I delete it from the Shuffle?  When I plug it into my computer, I get a screen showing how much space is left on the Shuffle but no list of files that I can delete.  WRA

    After I've heard an audiobook downloaded from the public library, how do I delete it from the Shuffle to make room for other audiobooks?  When I plug it into my computer, I get a screen showing how much space is left on the Shuffle but no list of files that I can delete.  These books, incidentally do not appear in the ITunes screen.  WRA

    Select the iPod shuffle in the iTunes sidebar (under DEVICES).  If this is a current 4th (or 3rd) gen iPod shuffle, you should be able to see the contents of the shuffle by type, intented under the shuffle's name (still in the sidebar).  Select Music or Audiobooks (not sure where those items from the library will be listed).  The items will be listed to the right, for each category.  Find the items, select, and delete.
    It's on page 20 of the manual
    http://manuals.info.apple.com/en_US/iPod_shuffle_4thgen_User_Guide.pdf
    NOTE:  If this is an 1st or 2nd gen iPod shuffle, select the iPod shuffle in the iTunes sidebar (under DEVICES).  Over to the right, go to the Contents tab, where the items are listed.  Select and delete them from this list.
    I find it more convenient to make a playlist in iTunes with things I want to put on the shuffle.  I then set up automatic syncing (or use autofill) to have iTunes load the shuffle from that playlist, automatically.

  • Java Files inside the jar file cannot be read or accessed through Eclpse

    The Java File inside the jar file of the eclipse cannot be accessed through the Eclipse . It shows error for the modules in the jar file .
    But when compiled with adding the jar files to the class path the compilation is successful .
    How can i browse through the files in the jar like going into the function definition .
    TIA ,
    Imran

    Open MPlayer OSX and show the playlist (command-shift-p) then drag the file into the playlist. Click the file in the playlist and click the "i"nfo button. What does it list for file, video and audio format?
    Not all of the codecs used in avi and wmv files are available for OS X so I'm guessing your file happens to be using one that isn't...

  • How to display link content on the the same sharepoint page on click event

    "How to display link content on the the same sharepoint page on click event"
    Detail:
    we are using a document library where all html files are stored/uploaded.  we would like to display/open the html file on the same sharepoint page where all the files are listed.
    Thanks.

    Use jQuery and set the target to self to the anchor tag
    Regards,
    Sairam Avacorp Technologies

  • Hi How do we create Methods inside the Business objects of Z

    Hi Abapers,
                        How do we create Methods inside the Business objects (z objects) and how *** an import parameter or export parameter  to be defined for the new Methods.
    Regards
    Bhaskar Rao.M

    Hi Bhaskar,
    that ´s not difficult.
    Open your Bus.Obj. in SWO1 with CHANGE/EDIT
    Click on the "Methods" header line and then use the button for "Create".
    If you want to add the method on basis of a function module, choose next in the next pop up. Then the system will offer you the ex/import parameter from the function module. So this is a really simple way.
    If you don´t have a FM, it is a little bit more difficult.
    Choose No on the quetion about a FM, fill in the next pop up  methode name (no blanks allowed).
    Dialogue is for user related method (call screen...) synchronous for methods which have to give back a result directly in to the workflow.
    After completing the screen the method will be displayed as new method at the end of method list. Now add parameters (first click on the method name, then choose parameter button, same functionality to add program to the method).
    Programm:
    Code snip:
    BEGIN_METHOD ZWFCHECKMIRO CHANGING CONTAINER.
    DATA:
          ZBELNR TYPE RBKP-BELNR,
          ZGJAHR TYPE RBKP-GJAHR,
          RESULT TYPE HRP1001-ISTAT,
          BELNR TYPE BKPF-BELNR,
          GJAHR TYPE BKPF-GJAHR,
          BUKRS TYPE BKPF-BUKRS.
    to import parameter
      SWC_GET_ELEMENT CONTAINER 'Zbelnr' ZBELNR.
      SWC_GET_ELEMENT CONTAINER 'Zgjahr' ZGJAHR.
    *(or SWC_GET_TABLE)
    here add the functionality of your method!
    to export parameter
    SWC_SET_ELEMENT CONTAINER 'Result' RESULT.
      SWC_SET_ELEMENT CONTAINER 'Belnr' BELNR.
    *(or SWC_SET_TABLE)
    !!! Important: naming convention!!! Use same writing of parameter names in
    PARAM area (button PARAMETER) and here in code.
    To use your method, change it to implemented after adding your code.
    -> Edit -> Change release status -> object type component -> into implemented
    (Sorry , have a german screen here, possibly terms are a little bit different.
    Hope this helps a little bit.!
    regards
    Dirk

  • Can I access my backup files inside the airport using finder?

    When I tried to open some files inside the airport extreme appear this message:
    The alias “Documents” can’t be opened because the original item can’t be found.
    Someone know how to open this file? I didnt lose any file, I just want to open using AirPort.
    Thanks

    It's recommended NOT to use your AirPort Extreme for backups Mainly because the Time Machine software was not deigned to work with the AirPort Extreme and the Extreme wasn't designed to work with Time Machine. That's why Apple has the Time Capsule, for wireless backups.
    Try connecting your hard drive directly to your computer.

  • Adobe Reader DC, doesn't disable "Display PDF Document in the web browser" when option is unchecked.

    The option under Accessibility>Setup Assistanct to uncheck the "Display PDF Document in the web browser" doesn't correctly disable Display PDF in browser when unchecked, it still defaults to opening in Internet Explorer even after restarting the browser.  Confirmed this tested agianst with IE 8, 9, 10 and 11 with the same behavior.  Moving back to Reader 11.0.10 and using this same setting works flawlessly.  Anyone else experiencing this issue?

    I am out of the office until 1/22/13.
    If you need assistance with technical issues, please contact the Help Desk at:  518-402-8888
    >>> Test Screen Name <[email protected]> 01/17/13 10:30 >>>
    Test Screen Name http://forums.adobe.com/people/Test+Screen+Name created the discussion
    "Re: Adobe Reader XI enterprise deploy-disable display PDF in browser?"
    To view the discussion, visit: http://forums.adobe.com/message/5001441#5001441

Maybe you are looking for

  • How can I extract single pages from pdf document

    how can I extract a single page from pdf document

  • Boot MAC problem with this update: O X 10.10.3

    MAC BOOK pro ( OX yosemite 10.10.2) have problems with O X 10.10.3 update (in 2 trial) during reboot.

  • Applying StyleSheet to a TextArea component

    I'm finding it not possible to attach a style sheet to a TextArea component with AS3, V3 component... Is there a workaround, maybe accessing the TextAreas' textField..??.

  • Audio set up crash

    I/m just new to captivate and I use vista OS with a logitech USB headset but when I try record I get the following error. I don't have problems with other e-learning apps for audio recording though. I have tried reinstalling the drivers and reinstall

  • ESS leave request review screen

    Hi, We are on ECC 5.0 and NW04s. The standard leave request workflow generates a review(button) screen. Can this be removed from the screen. I checked the lea  package and it generates those button on the fly. Thanks, Gokul