Professional Web Applications Themes

link to open external file - another beginner one - Macromedia Flash Actionscript

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...

  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. #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

  3. #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

Similar Threads

  1. link to external file not usable for the web?
    By Hilmar Hermens in forum Macromedia Director 3D
    Replies: 5
    Last Post: June 10th, 06:04 PM
  2. link to an external file
    By allymoizer in forum Macromedia Director Basics
    Replies: 1
    Last Post: March 3rd, 07:17 PM
  3. link to an external URL file
    By hritikny in forum Macromedia Flash Actionscript
    Replies: 1
    Last Post: February 27th, 09:05 AM
  4. Link to external file
    By zeenu webforumsuser@macromedia.com in forum Macromedia Director 3D
    Replies: 3
    Last Post: January 14th, 10:37 PM
  5. How can I detect external link file
    By TTO webforumsuser@macromedia.com in forum Macromedia Director Lingo
    Replies: 4
    Last Post: October 19th, 11:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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