link to open external file - another beginner one

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default link to open external file - another beginner one

    another beginner question.

    how can i link a button (or anything) to open a pdf file in acrobat (or
    any other file in it's own thing.)

    i have done it now with the getURL comand, what works but opens first
    the browser. and it is not right, is it?

    cheers dimitri

    dimitri Guest

  2. Similar Questions and Discussions

    1. link to external file not usable for the web?
      Hi. I use a shockwave3d-member as "link to external file" in order to do "cloneModelFromCastmember". As projector this works fine but when i...
    2. link to an external file
      Hi, I want to put links in my movie to open files in other apps - such as word docs. How is this done? thanx
    3. link to an external URL file
      Hi, which code do you use to create a link from your flash file to link it to another flash file (open a new window) that has been published (URL)...
    4. Link to external file
      Hi all, When i am giving link to externally to w3d files. Here while importing w3d file the media is "Link to External File ". and while creating...
    5. How can I detect external link file
      Dear All, How can I detect external link file form the CD-ROM. My director projector movie is in local hard disk. External link file is in CD. How...
  3. #2

    Default Re: link to open external file - another beginner one

    Hi.
    You should try this script in your button:

    on(release) {
    fscomand("exec", "yourfile.pdf");
    }

    Make sure you have published flash movie (not swf!) and that "yourfile.pdf" is
    in subfolder \fscommand

    Reply if it works and check the spell check in actionscript
    Good luck :)


    XFlashmanX Guest

  4. #3

    Default Re: link to open external file - another beginner one

     

    The EXEC command can apply only to executable (exe) bat or commend files (com)
    Do not support any other extension of file that require application in order to run.
    That makes all windows files from pdf , gif , doc, txt etc.....

    Need 3rd party tools like Jstart
    http://www.FlashJester.com




    Regards


    urami_*

    <hol>
    http://flashfugitive.com/
    </hol>


    urami_ Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139