Flash Actionscript: launch Prog from flash?

Discussion in 'Windows Desktop Systems' started by NerdUprising, Aug 8, 2003.

  1. NerdUprising

    NerdUprising [ Method ]

    Messages:
    736
    Location:
    Kamarupta
    is it possible to launch a program via flash?

    I have tried to do it using getURL(), but instead of launching the program, it opens the web browser and thinks the .exe is a download, and brings up the download prompt (which I suppose it should)

    so just wondering if it was possible for flash to launch an .exe
     
  2. Corvette

    Corvette Sauske!

    Messages:
    761
    Well that's what you do anyway!
     
  3. Tabula Rasa

    Tabula Rasa Stranger Than Kindness Political User

    Messages:
    3,233
    Location:
    Israel
    can you embed java into flash?
    if you can use a java script, something like in madmatts tutorial.
     
  4. Un4gIvEn1

    Un4gIvEn1 Moderator

    Messages:
    1,084
  5. lechtard

    lechtard Guest

    are you talking about flashget or macromedia flash ?? You can launch a prog from both, with flashget you don't need an action script ..
     
  6. NerdUprising

    NerdUprising [ Method ]

    Messages:
    736
    Location:
    Kamarupta
    talkin about good ol Macromedia Flash (MX)...

    and I suppose I could attempt to do something with java, but Im not as fluent with that as I am AS, and I would like to keep it as contained and non messy as possible
     
  7. NerdUprising

    NerdUprising [ Method ]

    Messages:
    736
    Location:
    Kamarupta
    Un4gIvEn1... many thanks.. within ten seconds of going to actionscript.org, I found my answer, and as I was hoping, it doesnt take much:

    On (Release){
    FS Command ("exec", "Test1.exe")}

    only problem is that since this is an FS command... it can only be executed by a projector file (export the movie to .exe) I will keep on looking, and keep on taking suggestions, thank you all much... if I find an answer, Ill stick it in here in case someone searches for it later (pfff...lol)
     
  8. X-Istence

    X-Istence * Political User

    Messages:
    6,498
    Location:
    USA
    i doubt it would be possible since this would compromise the security of the end users PC, or not?