Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Flash exe to open word doc? FlashScript? HELP!

  • 04-06-2003 08:09PM
    #1
    Registered Users, Registered Users 2 Posts: 771 ✭✭✭


    Call yourself a flash expert?

    If you have any experience with the following
    i could really use some help.

    Ive got a flash movie with a button that when clicked i need
    to call a word.doc and thus launch MSword.

    Apparently this isn't possible from flash movie exe's
    as just a link or 'goto URL'

    the answer to all my worries is almost here but i cant download the answers.zip file is missing

    I think i need to use fscommand to run a batch file
    and the batch file to execute the .doc file

    and thus launch the associated program, hopefully word.


    If you have a clue and/or suggestions
    please post

    thanks


Comments

  • Registered Users, Registered Users 2 Posts: 2,119 ✭✭✭p


    If it's flash MX this might help you:
    http://aritali.com/products/sop/

    It's it's flash 5 then you can use fscommand i think.


  • Moderators, Politics Moderators, Paid Member Posts: 44,347 Mod ✭✭✭✭Seth Brundle


    and what happens if they don't have MS Word? If it is a website then use PDF files!

    Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/ .



  • Registered Users, Registered Users 2 Posts: 771 ✭✭✭whiteshadow


    problem is its not for a website, it's for a flash.exe presentation and they will have msword. It is also to launch powerpoint.

    As for that sop thing
    I cant give a exact path not knowing where word is,
    whether it's winnt or what.
    user.data.run = "c:\\windows\\system32\\calc.exe"


    anybody know how to open a word.doc
    from a batch file?


  • Registered Users, Registered Users 2 Posts: 2,119 ✭✭✭p


    Who said anything about knowing the exact path to word?

    I'd really suggest that you actually read that website past the front page you lazy git.


  • Moderators, Politics Moderators, Paid Member Posts: 44,347 Mod ✭✭✭✭Seth Brundle


    the path to word depends on where the user saved MS Office / Works or whatever.
    My system has it @ C:\Program Files\Microsoft Office\Office\Winword.exe
    Presumably if the user does not have word stored where you point it then an error occurs!

    Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/ .



  • Advertisement
  • Closed Accounts Posts: 2,695 ✭✭✭b20uvkft6m5xwg


    Why not just call on the file directly.....

    onpresss/release go to url.... "sampleword.doc"
    and let the default program asscoaited with Word Docs (presumably Word) on the pc open the file.

    Whenever I create Flash Projector Exe's I just use that method- like for instance an autorun file for a DivX CD- when clicked it opens the file in the default Media Player (Winamp or MediaPlayer etc.) Just link the action to the file with extension .doc.

    I presume thats what the ultimate aim is. Correct me if I've got the wrong end of the stick here!


  • Registered Users, Registered Users 2 Posts: 771 ✭✭✭Sir Random


    Running external apps from Flash is no problem using an FS Command with these parameters:
    Command: exec
    Arguments: path\to\word\word.exe


Advertisement