7 Replies Latest reply on Feb 1, 2008 3:28 AM by Newsgroup_User

    Opening .ppt or .pdf files from flash site

    Colin_J
      I'm trying to open a .ppt file directly into powerpoint or a .pdf file directly into adobe reader. When I use the GetURL actionscript they always open in IE. Is it possible and how do I do it? I'm a newbie to flash so please keep your explanations simple
        • 1. Re: Opening .ppt or .pdf files from flash site
          Level 7


          Colin J wrote:
          > I'm trying to open a .ppt file directly into powerpoint or a .pdf file directly
          > into adobe reader. When I use the GetURL actionscript they always open in IE.
          > Is it possible and how do I do it? I'm a newbie to flash so please keep your
          > explanations simple

          not possible, getURL is the only way, rest lay in end user setting.



          --
          Regards

          Urami


          --



          Happy New Year guys - all the best there is in the 2006 :)




          <urami>
          http://www.Flashfugitive.com
          </urami>

          <web junk free>
          http://www.firefox.com
          </web junk free>
          • 2. Re: Opening .ppt or .pdf files from flash site
            arlanon
            I just spent the past few days researching this, with the great help of some people on this forum. Search for the following on this forum (from 7/12/06):

            Linking to files without using the FScommand folder

            The easiest way to open other files from Flash is by using a 3rd party tool. There are some free ones and some you have to purchase.

            • 3. Re: Opening .ppt or .pdf files from flash site
              Colin_J Level 1
              Hi,

              I read your thread with great interest and it sounds exactly like what I'm looking for. The only downside is I can't seem to get it to work. I have detailed below what I need to happen and what I think I need to do to make it happen.

              What I need to happen:

              Open a .pdf or a .ppt in Adobe Reader or Powerpoint (for respective file extensions) by clicking on a button contained on a .swf movie. The scenario is that the .swf file is located in C:\My Folder\flash.swf and the .pdf or .ppt are in the same folder.

              What I need to do to make it happen:

              Create a folder in the following location C:\My Folder\fscommand
              Create a .bat file (called pdflauncher.bat) and save it in C:\My Folder\fscommand - the .bat file has the code start \myfile.pdf
              Create a button on the .swf file with the actionscrip as below:

              on (release) {
              fscommand("exec", "pdflauncher.bat");
              }

              This is what I've done based on reading through your previous thread but it doesn't work.

              Any help would be greatly appreciated.

              Colin




              • 4. Re: Opening .ppt or .pdf files from flash site
                Level 7

                >
                > This is what I've done based on reading through your previous thread but it
                > doesn't work.
                >
                > Any help would be greatly appreciated.
                >
                > Colin

                As I said in my reply it is not possible.
                The user either misread your request or get confused.
                You can only execute files from SWF using getURL action w/o
                any control over the opening aspect. What program will be
                associated with or, if any at all.

                Executing files is possible strictly within EXE projectors,
                that's it, that's the bottom line.


                --
                Regards

                Urami


                --



                Happy New Year guys - all the best there is in the 2006 :)




                <urami>
                http://www.Flashfugitive.com
                </urami>

                <web junk free>
                http://www.firefox.com
                </web junk free>
                • 5. Re: Opening .ppt or .pdf files from flash site
                  arlanon Level 1
                  Indeed, this must be done with the Flash exe file NOT the swf file. All you have to do is go into File/Publish Settings in Flash and check "Windows Projector/exe" and this will produce the exe file that you can use that will allow your links to work.

                  Also, you might need to change the instruction in the bat file because you are using a different folder structure than I did (to read: start C:\My Folder\filenametolaunch.blah) or something like that.
                  • 6. Re: Opening .ppt or .pdf files from flash site
                    so i noticed this thread is from a long time ago. im surprised nobody has discussed since then.

                    Im on a mac and it seems most of the 3rd party apps to handle external files in flash are for windows only.

                    im using Flash CS3. Is there any way i can make a ppt file open using a flash based menue page. I dont really care how it opens. in ppt would be fine.
                    thanks

                    jeff


                    quote:

                    Originally posted by: arlanon
                    Indeed, this must be done with the Flash exe file NOT the swf file. All you have to do is go into File/Publish Settings in Flash and check "Windows Projector/exe" and this will produce the exe file that you can use that will allow your links to work.

                    Also, you might need to change the instruction in the bat file because you are using a different folder structure than I did (to read: start C:\My Folder\filenametolaunch.blah) or something like that.


                    • 7. Re: Opening .ppt or .pdf files from flash site
                      Level 7
                      For the Mac read this

                      http://www.flashjester.com/?section=faq&cPath=28_41_58

                      and PC use JStart

                      http://jstart.flashjester.com


                      Hope this helps.


                      --
                      Regards
                      FlashJester Support Team

                      e. - support@flashjester.com
                      w. - www.flashjester.com

                      "This has been one of the most impressive and thoroughly pleasant
                      experiences of customer support I have ever come across - astounding!"
                      Director - hedgeapple