Using text Cast Members as MoviePath's?

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

  1. #1

    Default Using text Cast Members as MoviePath's?

    I need some help creating a script to read a text file (either text contained within a Text Cast Member or a plain text file in a folder) and use it as a MoviePath pathname.

    Basically I'm trying to build a movie that can launch software .exe's by dynamically reading a text file (or the text cast mamber) which will contain the pathname and .exe name.

    Any assistance will be greatfully appreciated.


    Jeremy Ford webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Exporting lists to text cast members
      example: pList = -- (or any other list data) member("yourtextmembername").text = string(pList)
    2. cast members moved in cast - neet to get htem back!!!
      Hello I inadvertedly pasted a cast member into my cast and it bumped the rest of the members one number forward, screwing up my lingo all over the...
    3. supported HTML tags into Text cast members ?
      In article <bjl0eb$o6c$1@forums.macromedia.com>, "alexis" <alexis@opixido.com> wrote: I think the supported version of HTML is still 1.0, plus...
    4. run one of cast members ?!!
      hi all, I want to run an *.exe file that has been placed in my cast member. for example I added "mario.exe" in my cast member, now I want to...
    5. text cast members in a projector
      It's probably a font issue rather than a display issue. If the end user doesn't have the same font then a similar font will be substituted. Also,...
  3. #2

    Default Re: Using text Cast Members as MoviePath's?


    Basically I have done this in my project just like you are requesting.
    Here I post the principle as an easy-to-understand example:

    case expression of
    expression1 : appCode = appList[1]
    expression2 : appCode = appList[2]
    expression3 : appCode = appList[3]
    otherwise:
    nothing
    end case

    appToCall = the moviePath & member(appCode).text
    open appToCall
    quit

    ....
    Christian Grass Guest

  4. #3

    Default Re: Using text Cast Members as MoviePath's?

    Thanks for your help. I ended up finding a different way to get it to work for me but your input gave me the help to inspire the solution.

    Thanks again.


    Jeremy Ford webforumsuser@macromedia.com 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