Can i open a flase file (swf)from java application

i tried to converte the flash file to exe type
and call
Runtime.getRuntime().exec(flashName.exe)
and it worked.
the broblem is that the exe file is big.
i want to open the swf file not the exe.
i tried to call
Runtime.getRuntime().exec(flashName.swf)
but exception was throwen.
does someone know how can i open the swf flash type?
thanks .

I just thought of an idea. Assuming that the flash plugin is installed and that you're targeting Windows, why don't you use one of the Java-COM bridges available on the internet and integrate the flash player into your application?
I know of a few such bridges and I've provided links below to help you. Using these bridges means you won't have to rely on IE or opening a browser to view the file. The player is a seamless part of your application.
http://j-integra.intrinsyc.com (commercial)
http://sourceforge.net/projects/jawinproject/ (open-source, freeware)
http://www.relevancellc.com/halloway/JavaWin32.html (a whole bunch of links for Java-COM interoperation)
http://danadler.com/jacob/ (open-source, freeware)
As far as I know, the flash player is installed as an ActiveX control on the system, so integrating it should not pose too much of a problem.
Hope that helps,
Cheers

Similar Messages

  • Just upgraded to Lion, can't open any pdf file downloaded from internet that was fine with Leopard. How can I overcome this obstacle ?

    Just upgraded to Lion, can't open any pdf file downloaded from the internet that was fine with Leopard before. I just got a black screen when I clicked on a pdf icon on a given internet site, and same happened with several sites that I visited. How can I overcome this obstacle ?

    Try two things with Safari not running:
    1) Launch Adobe Reader, open its preferences, select the Internet category, and check the values under "Display PDF in browser using".  If it's checked, try unchecking it.
    2) Look in /Library/Internet Plug-Ins (at the top-level of your boot volume) for something names AdobePDFViewer.plugin.  If you see such a file, try moving it to a folder named "Disabled Plug-Ins" (if such a folder exists) or onto the Desktop.
    Then see how things work.

  • I can't open a jpg file directly from an Outlook email attachment into Photoshop CC.

    When I try to open a jpg file directly from an Outlook email attachment into Photoshop CC I get this error message " Photyoshop CC.exe - Entry Point not found" with this string:

    I don't think I have ever been able to open an image directly from Outlook into Photoshop.  What you can do, is drag from outlook to desktop, and then from desktop into Photoshop.  Or, if seeing the windows at the same time is a problem, drag onto desktop, then minimise everything, and drag onto the Photoshop icon (if you have a Photoshop shortcut on your desktop).

  • Can we run the batch file using simple java application

    Hello sir,
    we want to run the batch file using simple java application. i tried with some example, we run the exe files but not batch file.
    Runtime r = Runtime.getRuntime();
    r.exec("D:\\jboss\\bin\\run.bat");
    My application is server will run when we run the java appliation.
    any suggestion? plz give me the solutions

    yes you can run html file
    WEB.SHOW_DOCUMENT is a built-in that is used in Forms to call URL from a Web Form. It works much like the similar way that a link on an HTML page works and it takes two arguments, one is URL and second one is TARGET, in your case use following.
    WEB.SHOW_DOCUMENT('http://channas.iil.informatics.lk:8890/forms/frmservlet?config=abc.html', '_blank');
    Hope this will work for you
    Abbas

  • Can i open a flase file from java application?

    i want that when the user click a button on my java application,
    a flash file i made (Not html)will be showen .

    is it an executable(*.exe?), if it is then you could try using runtime.exec() to run it, but it would not be in a window that you created

  • Can't Open attached PDF file saved from my Outlook mail.

    I have this problem:
    I'm using Acrobat Reader 9.1 and I've never had this probblem .Cane you halp me?

    If you are not able to get Adobe Acrobat Reader to open .pdf files in the browser. Even after you check in prefs to show pdf files in the browser.
    Make this modification for all versions of Adobe Acrobat Reader that show under this key.
    -Note: Deleting the key and all subkeys for any older versions also seems to fix this problem. So if you see this key present,
    HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\7.0\Originals
    delete the 7.0 and all subkeys.
    HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\9.0\Originals
    -Right click on Originals and choose NEW DWORD Value and name it bBrowserIntegration, hit enter,
    double click on the new value and make sure the value is 1

  • Can't open Outlook msg files

    Hi,
    We are using Windows Phone with Nokia Lumia and we can't open outlook msg files.
    From Desktop, we save Outlook messages into msg format in SharePoint libraries, but When I try to open this message using Internet Explorer with Nokia Lumina, it can't do it. Windows Phone can't open msg files.
    It is this possible? Can't install Outlook client into Windows Phone? Exists any msg reader?
    Thanks

    Hello,
    I am not really sure what that means?
    Did you set it up manually on the sequencer, or did you create it manually on after monitoring?
    Is whats captured the same thing as whats setup when its working?
    Have you compared how it works on a manually setup client vs whats actually configured within your package?
    /Znack

  • I can only open 1 .Ai file at a time from explorer

    Okay.  Googling is getting me nowhere and posting this is a last resort.
    computer is running:
    Windows 7 x64 SP1
    Creative Suite 5.5
    Illustrator 5.1
    The problem is:
    From within Windows Explorer, I can only open 1 Illustrator file at a time.  To get a different file to open, I either have to drag and drop the second file into the tabs under the menubar, or I need to quit Illustrator and re-open it.  Also,  I can not open additional files from Explorer one-at-a-time if one is already open.
    Quirks:
    If I go to File -> Open I can select multiple files from within the Open File dialogue window and they open just fine.  but i can't do it from within windows explorer.  This used to work and now it doesn't and I have no idea why.  Can anyone help me out?
    Seriously? 137 views and no replies?  No one has run into this before?

    This is a long shot but try going to Preferences/Type and uncheck "Show Font Names in English".
    Quit illustrator and restart, does it work now?
    The reason I´m suggesting this is that unless I have this box unchecked, some internal function in illustrator crashes after I´ve opened one document and I have to quit & restart if I wan´t to open another one. A rather silly bug and I stumpled upon the solution by accident after cursing illustrator for a couple of months...

  • Can't open NEF raw files in Elements 12.1 from my Nikon D610.

    I have the trial version of Elements 12 and updateed to 12.1. The Camera Raw version is 8.4 and I'm running a Windows 7 computer. Then I try to open NEF files do I get the error message that my Camera is not supported. I tried to install the DNG converter ver 8.3 but that dosen't recognize the NEF files either. Elements opens the NEF files from my Nikon D5100 without problems and so does the DNG converter. I have tried both 12 bit and 14 bit NEF files from the D610 with no luck.
    As I understand it so should Elements 12 with Camera Raw 8.4 support Nikon D610. I hope I get get this to work so that I can update to ver 12 from ver 9 that I use today.
    Best regards
    Daniel

    Yes I used Nikon Transfer NX that came with my Nikon D5100. I downloaded the NEF file directly from the SD card to my hard drive and now can I open the NEF file in Elements. I guess I need to update Nikon Transfer NX with the version I got with the D610.
    Thanks 99jon for the quick reply and for solving my problem
    //Daniel

  • Hello, I have transferred my Acrobat XI Pro from old MAC to the new one. After the transfer can not open any PDF file. Any idea how to solve this?

    Hello, I have transferred my Acrobat XI Pro from old MAC to the new one. After the transfer can not open any PDF file. Any idea how to solve this?

    Hey ilyaz20360341,
    Could you please specify how exactly did you transfer Acrobat from one MAC to other.
    You might need to deactivate the software from your old machine and then activate it on the new one with the same serial number (for Acrobat license) or Adobe credentials (for Acrobat subscription).
    If you have done the same way, then let me know if you are able to open Acrobat itself.
    Do you get any specific error message while opening a PDF?
    Hope to get your response.
    Regards,
    Anubha

  • Can't open web pdf files from my Reader DC because my IMac wants a completed license agreement to use Reader and I never saw that page during installation.

    Can't open web pdf files from my newly installed Reader DC because my IMac wants a completed license to use agreement to Reader, and I never saw that page during installation.  How do I get past this?

    You need to accept the EULA on first launch of the Reader DC application.
    Go to the Applications folder and launch Adobe Acrobat Reader DC. 
    This will bring up the EULA.
    Select the "Agree" button if you agree with the terms
    Assuming you selected the "Agree" button, Reader DC should open.
    You should now be able to open PDF files in your web browser.

  • My macbookpro is not opening pdf sites from safari or firefox, it goes to the address but just gives me a black screen. I can however open a pdf file that I have saved on my HD, it opens on preview. any thoughts?

    My macbookpro is not opening pdf sites from safari or firefox, it goes to the address but just gives me a black screen. I can however open a pdf file that I have saved on my HD, it opens on preview. any thoughts? osx 10.6.8

    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 (command-V) into the text box that opens, 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.
    I've seen an unconfirmed report that the "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you might need to remove it as well, if applicable.
    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.

  • I can't open the RAW files from my new Nikon D4s camera in photoshop? How do I download the latest software for RAW files?

    I can't open the RAW files from my new Nikon D4s camera in photoshop? How do I download the latest software for RAW files? Cheers!

    What version of Photoshop are you running?  You will need at CS5, CS6, CC or CC2014.  Each version needs a different ACR-plug-in to open files from that camera.
    If you are on CS4 or earlier, you'll need to upgrade—or, in the alternative; look for, download, instal, launch and run the free, stand-alone DNG Converter 8.6 on each file of raw NEF files to convert them to raw DNGs first so you can open them in your version of Photoshop and ACR plug-in higher than 2.4.

  • Can not open new blank tab window from file, new tab.In Tools/Options/Tabs ticked open new windo w in new tab?

    Can not open new blank tab window from file, new tab.In Tools/Options/Tabs I have ticked open new window in new tab?

    The Ask Toolbar is probably causing that in the Firefox 3.6.13 version. Disable that extension or un-install it.

  • I have Lightroom 3.6 and Camera Raw 6.6 but I can't open my CR2 files from my Canon eos 6D

    Hi,
    I have Lightroom 3.6 and Camera Raw 6.6 but I can't open my CR2 files from my Canon eos 6D
    Lightroom doesn't show a thumbnail image and when trying to import it says the camera format isn't supported. But normaly Camera raw 6.6 should cover the Canon eos 6D
    All help is welcome,
    Thanks

    No, the older versions are not free.  If you upgrade you will have to get Lr5 unless you can still find Lr4 for sale somewhere as it has been discontinued by Adobe.  You can also use the FREE DNG converter to convert the 6d files for use in Lr3.6.

Maybe you are looking for

  • Parsing XPath Expressions

    Is there a Java API that parses XPath expressions and produces the resultant XPath tree in memory? For example the xpath expression: /a/b[c/d]/e/f will produce a tree with "a" as the root node, "b" as a sub-node, "c" and "e" as subnodes of "b" and so

  • Using Axis2 webservices in WebLogic 10.3 - weblogic.xml

    Hi, I am facing an issue while trying the following: I am using a webservices webapp in WebLogic 10.3. The web-app uses Axis2 for the webservices. To fix a logging issue, I had to add the following to my weblogic.xml: <weblogic-web-app> <container-de

  • Berkeley DB is giving me error when compiling on Mac OS X 10.10

    Hey guys, I'm trying to compile Berkeley DB so I can compile OpenLDAP (requires version 4.4 or up) I tried version 6 and it says it doesn't support that one, so I went down to 5 and this one is giving me this error: ./libtool --mode=compile cc -c -I.

  • IPhoto book - How to ensure if photo size is enough ?

    How to ensure if photo size is enough for the XL size I select? It appers good on the preview, does it confirm it will turn out to be same when printed out? Thanks!

  • InDesign CS4 Horizontal scale in control palette

    Hi all, Today is my first day in the CS4 version of InDesign! Enjoying it a LOT so far! I just cannot seem to find the usual text horizontal scale in the control palette...as it was per default in earlier ID versions. How do I get it back there? I ca