opening documents on an external program using an Xtra

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default opening documents on an external program using an Xtra

    I downloaded an Xtra, specifically "FileXtra3" to open up my PDF files and JPEG pictures on an external program from my CD that I am creating. I'm using Director MX on Windows 2000. I saved the downloaded Xtra in the same location as the the other Xtras that came with Director. My movie and my Xtras are both saved in separate sub-folders of my main folder. I wrote the Lingo as follows:

    on mouseUp
    instance = new(xtra "filextra3")
    result = fx_FileOpenDocument(instance,the moviepath & "Img_2.jpg")
    if result = 0 then alert "Sorry, no app is on the system to open JPEG files"
    end

    Now when I played the movie and clicked on my link, it gave me the following error:

    Script error: Xtra not found

    instance=new(xtra"filextra3")

    "filextra3"


    Does this mean I wrote the Lingo wrong, or did I save the Xtra in the wrong place, or what? I'd appreciate any help. Thanks!




    mpz111 webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. #39841 [NEW]: fopen is not opening external urls but opening local files
      From: sarvesh_borkar at yahoo dot co dot in Operating system: FreeBSD PHP version: 5.2.0 PHP Bug Type: Filesystem function...
    2. opening a document on an external program
      Hi, I'm using director MX and I'm using FileXtra4 to open up JPEG's and PDF files on external programs. When i play the movie inside director, my...
    3. opening documents on external program
      is your movie in a far deep folder ? sometimes paths too long or containing spaces can make problems..... I'm suggesting that 'cause I use Filextra4...
    4. opening documents on an external program using an Xtra, Continued...
      Hi.... You're getting the error because Director is not able to find the xtra that does this job. You can also see the xtras in the message...
    5. opening documents on external programs
      I'm a beginner in Director, and I am currently using Director MX. I am making a CD for distribution, and on the CD I have several large pictures at...
  3. #2

    Default Re: opening documents on an external program using an Xtra

    In article <bk8ng5$aat$1@forums.macromedia.com>, "mpz111"
    [email]webforumsuser@macromedia.com[/email] wrote:
    > I downloaded an Xtra, specifically "FileXtra3" to open up my PDF files
    and JPEG pictures on an external program from my CD that I am creating.
    I'm using Director MX on Windows 2000. I saved the downloaded Xtra in the
    same location as the the other Xtras that came with Director. My movie
    and my Xtras are both saved in separate sub-folders of my main folder. I
    wrote the Lingo as follows:
    >
    > on mouseUp
    > instance = new(xtra "filextra3")
    > result = fx_FileOpenDocument(instance,the moviepath & "Img_2.jpg")
    > if result = 0 then alert "Sorry, no app is on the system to open JPEG files"
    > end
    >
    > Now when I played the movie and clicked on my link, it gave me the
    following error:
    >
    > Script error: Xtra not found
    >
    > instance=new(xtra"filextra3")
    >
    > "filextra3"
    >
    >
    > Does this mean I wrote the Lingo wrong, or did I save the Xtra in the
    wrong place, or what? I'd appreciate any help. Thanks!

    It's up to version 4 now. Also, you have to restart Director after putting
    a new xtra in your xtras folder because it loads them when it starts up.

    After restarting Director, to see which version you have, put up a message
    window (Windows -> Message) and type this in the Message Window

    showxlib

    FileXtra should show up in the list as either "FileXtra3" or "FileXtra4".
    Use the name you find:

    instance=new(xtra"filextra3")

    or

    instance=new(xtra"filextra4")

    If it doesn't show up in the xtras list at all, make sure that you
    decompressed the zip file and that you put "filextra4.x32" into Director's
    xtras folder.

    Gretchen Macdowall
    [url]http://www.updatestage.com/[/url]
    Gretchen Macdowall 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