1 Reply Latest reply on Jun 15, 2009 9:29 AM by RossRitchey

    link to pdf on a cd

    beatzMalone Level 1

      Hey how do i link to a pdf and other file on a cd from flash? i tried the url thing but thats for web..it keeps launching the browser.....

      i want to launch the file itself

        • 1. Re: link to pdf on a cd
          RossRitchey Level 4

          The flashplayer can only launch the browser by design.

           

          If you want to open a file that runs outside of the browser, you will need to use the fscommand method.

           

          in a new text file, write a line similar to the following:

           

          START nameOfPDF.pdf

           

          save the text file as "launcher.bat"

           

          put this bat file in a folder next to your flash executable called "fscommand" - also place the pdf in that folder.

           

          In the flash:

           

          fscommand("exec","launcher.bat"); //this launches the batch file, which launches the PDF. This method can be used for any type of file.