Launching .exe from Flash

I need to produce a CD which will self-run when inserted in the drive. The user will see 2 buttons .One will launch the English version of a Flash.exe the other will launch the Spanish version of a Flash.exe. What is the best way to go about this? Sow what we have then is a Flash.exe with 2 buttons to launch 2 other Flash.exe.
Thanks,
Al

Although launching an EXE from Java is as simple as
Process p = Runtime.getRuntime.exec("/*command string goes here");

Similar Messages

  • Launching FW from Flash Movie

    Is there a way to launch FW from Flash Movie when user
    presses a buttons?
    Bascially, when user clicks a button in Flash Movie, FW
    launches and execute some scripts.
    Thanks,

    Not a Flash expert, but I don't think so. Why do you want to
    do this?
    alex
    babo_ya wrote:
    > Is there a way to launch FW from Flash Movie when user
    presses a buttons?
    >
    > Bascially, when user clicks a button in Flash Movie, FW
    launches and execute some scripts.
    >
    > Thanks,

  • Launch exe from remote machine

    Hi All,
    How can I launch an executable residing in machine A from machine B?
    I'm trying web services but no luck.
    Am I the wrong track?
    Thanks a lot

    What does "I'm trying web services but no luck." mean? As I see it, you have two separate things to accomplish here. One is the launchiing of the executable locally. The other is the triggering of that event remotely. Deal with one, then the other. Much simpler. That is, encapsulate the launching in a single method call, then work on calling it remotely. Then your problem is simply "How do I call a method remotely?", and entirely decoupled from details such as "launch exe from remote machine"

  • Launch lightbox from flash animation

    Hi All,
    Does anyone know of the best way to launch an iFrame video box in a lightbox from a Flash banner?
    I have a shopping cart and need to have the video which is served via iframe from a third party site displayed in a lightbox but can not find anything suitable.
    Regards.

    I don't really understand what you are trying to do... can you explain in simpler, clear details? That said...
    Break the process down into steps.
    Get you "video box" working first (whatever a video box is???).
    Create the HTML page which will hold the iframe content, then add your video box to that.
    Place the iframe on your main HTML page
    Create a button or link in your Flash banner and call the or display that iframe... use javascript if needed.
    if AS2, getURL or ExternalInterface will allow connection to javascript
    http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm
    if AS3 ExternalInterface will allow connection to javascript
    http://www.viget.com/inspire/bi-directional-actionscript-javascript-communication/
    Best wishes,
    Adninjastrator

  • Running External Program From Flash

    Is it possible to open Windows calculator (calc.exe) from
    Flash much like the JumpOutReturn function in Authorware? My
    apologies if this seems like a simple routine.

    I'm rather new to Flash myself so I can't say whether Flash
    offers the ability to "open" a 3rd party application -- but
    considering what I've read I would venture to say the answer is
    "no". However, if you create (or use) a simple server, you could
    use Flash Sockets or XMLSocket to communicate with the server and
    have the server launch the application on your behalf.

  • Firing an external app from flash and pass parameters

    Hi all,
    I need to fire an exe from flash projector and pass it a lot
    of parameters(need to regenerate an image). Could someone tell me
    what would be the best solution for this... can I make a php
    executable which could use all the gd functions? If yes, can you
    please write a brief tut or provide some guidelines.
    Thanks

    then use:
    fscommand("exec", "correctanswer.exe");

  • Unable to launch .exe projects from w/in Captivate

    I have a large project in .exe format (>250 slides) so I'd like to break it up into smaller projects.
    I created a navigation slide at the end of each small project to allow users to launch any of the five or so .exe files available.
    When a user double-clicks on the first .exe project to start their training -- no problem. 
    But when they try to launch an .exe from *within* the Captivate slide, they get error messages about "unknown publisher" for the .exe file.
    See the errors here: 
    http://screencast.com/t/cAGd0l1As
    Obviously, there are security concerns about launching .exes, but if the user can launch an .exe from the desktop, why can't they launch it from within Captivate. 
    A colleague told me that it may have to do with unsigned activeX controls (btw, we can't afford to sign these).
    But why are browser active X controls being invoked?  The whole point of using the .exe format (for us) was to avoid the browser.
    I tried changing the action (On Success:  Open URL or file) to (On Success:  open another project) b/c I thought it might get me away from the browser, but .exe is not "another project" for Captivate.
    Bright ideas?  Thoughts?  We are running this in a closed environment so we may be able to loosen up security a bit but we can't do anything too crazy.

    We need to teach people to use keyboard commands.  In other words, they need to issue keyboard commands to make things happen, rather than only clicking on the screen. 
    Unfortunately, most keyboard commands do not work in .swf format, as we found out very painfully about 6 months ago, after much work.  They work in Preview mode, but not once you publish the file.  Let that be a lesson to all developers not to rely on Preview modes -- a good general rule -- and one that I should not have broken. 
    The browser reserves many keyboard commands for its own use.  I'm not 100% sure why Preview works while a true published .swf does not (they both use the browser) but it's not very important from a practical point of view.
    Adobe identified this as a bug, but that was months ago, and the project must go on.  We switched to .exe, which introduced a host of new problems that we are slowly discovering and working through.
    The Aggregator seems like great functionality and it's understandable (to me at least) why it would not work with a bunch of .exes -- at least, not without some serious coding by Adobe.  But sadly, it won't solve this particular problem!
    I think I will have to take my monster training and put it all back into one big and frightening file and then redo the TOC.  Or I can make people open each training file separately, which is kind of inelegant.  I want them to be able to move through the sections as though they were a single file.
    .swf is, all around, a better format and the one that people expect.  However, while hard for many to believe, keyboard command training is even more important to this particular set of users! 

  • Launching a .exe from Applet

    Can anyone tell me if it is possible to launch an executable file (.exe) from an applet? If so how does one do it?
    Thanks!

    plss go through the limitations of applet. it says a lot of things and a few to mention are......
    1. cannot access files.
    2. can't read from files
    3. can't write to files
    4. can't access databases.
    5. CAN'T RUN OTHER PROGRAMS
    but the above limitation can be overcome by taking a round about way. for eg, we can access file thru applets by establishing a socket connection and opening a stream to the file. we can access database also in may ways.....like writing a policy file for applet or connecting to database thru servlets or by using signed applets.
    for running other programs.......i think......signed applets might help. signed applets are also known as trusted applets. just go throug signed applets and seek help from the signing applets' forum. it's a bit difficult topic but it's all paradise once u mastered the signing of applets. but before learning it , try to know whether u problem can be solved by trusted applets b'cos i'm not sure

  • CSV , text file out put from flash exe

    Hi,
    I want to save data from flash exe to CSV file and text file
    . OS is XP and there will be no server connections. Is this
    possible. Please help.
    Thanks,
    Manu

    If th ecomputer you're working with has some server software
    running (Apache or IIS) you could save your data with php or asp.
    If you don't then you could use the Shared Objects (which works as
    a cookie, so you'll be e bit limited here). There was a function
    called MMSAVE back in FlashMX, don't know it that still works, that
    writes to a text file (but only in the development enviroment).
    Let me know a few more details and we'll find a way.
    Cheers
    Gorka

  • Creating .exe from .swf with Adobe Flash Player 13

    Hi,
    I usually export to .exe from .swf files using the Adobe Flash Player.
    I've update flash to the 2014 version and now this "create projector" remain in gray color, so, unavailable.
    Do you now if there's a solution?
    Many thanks

    Lols, so easy!
    Many thanks!

  • How to disable update.exe from auto launching to install Firefox 4.0

    I do not wish to install FF 4.0 until Norton has release patch for it. So how do I stop it from the update.exe from pop up each time d > I start FF? All ready tried Tool > Options > Advanced >Update and unchecked Firefox.
    Windows 7 64 Firefox 3.6.15
    Thanks

    Ok i solved this, just delete updater.exe from program files than navigate to %appdata%\local\Mozilla\Firefox\Mozilla Firefox\updates rename the folder "0" to anything other than 0. and your all good.

  • Audio from flash sources is playing in the background, even though the sources of these have been closed.

    Audio from flash sources are still playing in the background after their sources have been closed; audio also starts playing when I start the browser. Closing plugin-container.exe in task manager solves this, but I do not want to do this every time I have audio in the background that should not be there. Not a good move to launch a browser where the kinks haven't been worked out. Have tried to inactivate addons etc. This problem is related to FF5, but have also happened earlier, with FF4. Solved that time by moving to Chrome instead.

    Sounds that the plugin-container process isn't closing properly.<br />
    See http://kb.mozillazine.org/Plugin-container_and_out-of-process_plugins
    There are other things that need attention.<br />
    You have a corrupted Firefox 3.6.13 user agent: Firefox/2.0.0.14;MEGAUPLOAD 1.0
    See:
    * [[Web sites or add-ons incorrectly report incompatible browser]]
    * http://kb.mozillazine.org/Resetting_your_useragent_string_to_its_compiled-in_default

  • Error when running captive runtime .exe from root directory of drive.

    Platform: Windows
    Specifics: Captive runtime desktop app using an ANE.
    Problem:  I am distributing the app on a flash drive. Ideally,the .exe will be on the root of the drive, so the user will not need to enter a subdirectory. I'm mostly concerned about users moving the software and getting frustrated by this error.
    The error is "Adobe Air: The installation of this application is damaged. Try re-installing or contacting the publisher for assistance."
    Here's an example. Importantly, this error only occurs when an ANE is included. I tried a few different ANE files created by others, and simply adding them to the project produces the error. I don't even need to use the ANE anywhere in my code.
    https://www.dropbox.com/s/epfj0138pfbmu49/soExample.7z
    This is a simple application with a few blank buttons. Try extracting in a subdirectory somewhere, and then moving to the root of a flash drive or any other drive. However, I don't recommend running code from strangers on the top directory of your C:\ drive.
    Additionally, I installed Apache Flex 4.12 but the error persists. The text simply changed to "Initial content could not be loaded for this application. Try re-installing or contacting the publisher for assistance."
    https://www.dropbox.com/s/epfj0138pfbmu49/soExample.7z

    I did some more testing. Same issue occurs if I create a captive runtime app from Flash Pro. It also happens when I use the Adobe Air installer, but install to the root directory.
    Can anyone think of a workaround?

  • Error message when I try to copy new files (images, documents) to mac from flash drive/SD card

    I am recieving an error message when I try to copy new files (images, documents) to mac from flash drive/SD card. The message is saying "operation cannot be completed because an item already exists with that name." They are brand new therefore not the same name? I cannot even put them in a brand new folder...  How can I fix this?
    Please help me!

    You don't need to recover the system.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Drag or copy — do not type — the following line into the Terminal window, then press the space bar:
    dot_clean -m
    Switch to the Finder and drag the icon of the flash drive into the Terminal window. Some text will appear after what you entered. Press return.
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear. Then quit Terminal and try the copy again.

  • Opening an HTML popup from Flash, not as tab

    Hi
    I need to open an HTML popup from Flash (using ActionScript in
    Flex 4).
    Thus far I found a solution, and it does work in Safari - a new
    and separate HTML window is popped up (with a new web page).
    private function popUpTheHtmlEditor():void {
      var url:String = "http://www.adobe.com";
      var request:URLRequest = new URLRequest(url);
      try {
        navigateToURL(request, '_blank');
      } catch (e:Error) {
        trace("Error occurred!");
    But in (my) Firefox (with my settings), when I click on the Flash
    (Flex) button, the page is being opened in a new tab.
    I need a solution which pops up the HTML page in a new/separate
    window, as far as possible regardless of the browser (and browser
    settings).
    I found an example where a popup is opened from HTML, and it opens a
    separate window (a real popup) in my Firefox:
    http://www.gtalbot.org/FirefoxSection/Popup/PopupAndFirefox.html
    -> "Open a requested popup"
    The JavaScript code seems to be:
      OpenRequestedPopup(this.href, this.target); return false;
    with this function def:
      function OpenRequestedPopup(strUrl, strTarget)
        if (WindowObjectReferenceOfRequestedPopup == null || WindowObjectReferenceOfRequestedPopup.closed)
        WindowObjectReferenceOfRequestedPopup = window.open(strUrl, strTarget, "top=" + windowTop + ",left=" + windowLeft + ",width=" + windowWidth + ",height=" + windowHeight + ",menubar,toolbar,location,resizable,scrollbars,status");
        else
        if(WindowObjectReferenceOfRequestedPopup.focus)
          WindowObjectReferenceOfRequestedPopup.focus();
    How could I call such code from ActionScript? Should this work through
    ExternalInterface? I couldn't even get this to work:
      ExternalInterface.call('alert', 'foo');
    Should I use swfobject.js for embedding the .swf in the HTML wrapper?
    Any other ideas?
    The two files are pasted below.
    Here's the compiler command I'm using:
      mxmlc -output button.swf -target-player 10.0.0 flash_to_editor.mxml
    I'm running the examples locally (as files, not over http). Would it
    help to place the files on a server?
    Tobi
    <?xml version="1.0" encoding="UTF-8"?>
    <mx:Application
      xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      horizontalAlign="center" verticalAlign="middle">
      <fx:Script>
        <![CDATA[
    import mx.controls.Alert;
    import flash.external.ExternalInterface;
    import flash.net.URLRequest;
    // This 'http://www.adobe.com' is just an example URL.
    // Works but opens tab in FF (not a separate window):
    private function popUpTheHtmlEditor():void {
      var url:String = "http://www.adobe.com";
      var request:URLRequest = new URLRequest(url);
      try {
        navigateToURL(request, '_blank');
      } catch (e:Error) {
        trace("Error occurred!");
    // Doesn't work:
    // var url:URLRequest = new URLRequest("javascript:alert('foo'); void(0);");
    // navigateToURL(url, "_self");
    // How to get this to work?
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('alert', 'foo');
    // How to get this to work?
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('launch','http://www.adobe.com');
      // Or
      // ExternalInterface.call("window.open", "http://www.adobe.com", "win", "height=200,width=300,toolbar=no,scrollbars=yes");
    // Perhaps it's necessary to try different approaches:
    // (As soon as I get two approaches to work.)
    private function popUpTheHtmlEditor():void {
      var s:String;
      if (ExternalInterface.available) {
        // Necessary? Safe?:
        // Security.allowDomain('*');
        s = ExternalInterface.call('launch','http://www.adobe.com');
      } else {
         // TODO: Then try URLRequest?
         s = "Wrapper not available";
      Alert.show(s);
        ]]>
      </fx:Script>
      <s:Panel title="One way to open the HTML editor"
      width="75%" height="75%">
        <s:Button id="button" label="Open the HTML editor"
        click="this.popUpTheHtmlEditor();"
        horizontalCenter="0" verticalCenter="0"/>
      </s:Panel>
    </mx:Application>
    <html
      xmlns="http://www.w3.org/1999/xhtml"
      xml:lang="en" lang="en">
      <head>
        <title>html_around_swf.html</title>
        <script type="text/javascript">
    function launch(url) {
      alert(url);
      //  OpenWin = this.open(url, "FOO", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=400,height=200");
        </script>
      </head>
      <body>
        <object id="button" name="button" width="550" height="400"
        classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
          <param name="movie" value="button.swf" />
          <param name="allowScriptAccess" value="always" />
          <embed id="foo" name="button" src="button.swf" width="550" height="400"></embed>
        </object>
      </body>
    </html>

    Hi, 
    Here's a solution.
    1. Make ExternalInterface work when files are loaded as local files: 
    Go to
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l 
    In tab Global Security Settings: Edit Locations -> Add Location ->
    browse to the .swf file, add it. Make sure it's in the list (under the
    Edit Locations drop down, with a green check mark.) 
    Now open the HTML wrapper in a browser (eg Firefox). 
    Now this works (ActionScript): 
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('alert', 'foo');
    On Windows: perhaps:
    http://techjig.blogspot.com/2008/03/flash-global-security-settings-windows.html
    "In order for external interface functions to be called, you must also
    specify the folder/file where the swf file is located." 
    The above setup isn't necessary when the files are on a server. 
    Also see: 
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/external/External Interface.html#call()
    ""ExternalInterface" "
    "call() method" 
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7ea6.html
    "About ExternalInterface API security in Flex" 
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf626ae-7fe8.html#WS2d b454920e96a9e51e63e3d11c0bf69084-7f31
    "Using the ExternalInterface API to access JavaScript" 
    2. Open a real popup: Example: 
    ActionScript: 
    private function popUpSomething():void {
      var editorPathOrUrl:String =
        'wrapper.html';
      var windowName:String =
        "SomeNameSeeDocs";
      var windowFeatures:String =
        "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes,width=500,height=700";
      ExternalInterface.call(
        'launch',editorPathOrUrl,windowName,windowFeatures
    JavaScript: 
    function launch(editorPathOrUrl,windowName,windowFeatures) {
      windowRef = window.open(
        editorPathOrUrl,windowName,windowFeatures
    Works in all browser I tested except Opera. 
    Tobi

Maybe you are looking for

  • Firefox is not showing up at all, I will click on the application and it start to work but then after 2 seconds, its stops working.

    I will try to start firefox and then it stops working. It will work for about 2 seconds and then it goes to a blank screen. The screen is transparent and i can see my desk top threw firefox. I have uninstalled it and reinstalled it and firefox still

  • No longer able to drag Outlook emails to Outlook calendar events

    I use Outlook 2007 on my PC, and sync it to my iPhone and iPad using iCloud.  I used to be able to drag an email to the notes section of an Outlook calendar event, but it looks like this ability/feature is now gone.  Can I get this feature back? I ev

  • How can i connect the Faulhaber Motor to MID-7654?

    How can i connect the Faulhaber Motor (3564 024BC, with Encoder HEDM 5500 B12) to MID-7654? The Motor has following wires: A: Hall sensor green; A: Phase brown; B: Hall sensor blue; B: Phase orange; C:  Hall sensor gray; C: Phase yellow; +5V: Voltage

  • Error installing OWB 10.2.0.1 repository on for AIX

    Hi! I'm trying to install OWB repository on AIX with repository assistant, but I'm stuck with the following error included on the log file generated: INS0017: Installation of the seeded data failed. oracle.wh.util.parser.ParseException: Internal Erro

  • HTML to embed SWF

    Well got my portfolio site finished in Flash but neither of the size of the layout (600x800p) and therefore sharpness of the text publishes properly - I was trying to get around embedding the swf in html but I guess I'm gonna have to.. anyone got any