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

  1. #1

    Default create new cast

    i needing some help trying to create a new cast. this is the code that i am
    using.

    if charCounter > 368 then
    set newCast = new(#castLib)
    ** put newCast into movieName
    repeat with n = n + 1 to finalSum -- Repeats creating new fields until =
    finalSum
    set newPage = new(#field)
    set the name of newPage = "newPage" && n
    put newPage into newCast -- Puts the new page into the new library
    end repeat
    end if

    ** i believe this is the line that is giving me trouble. any help would be
    greatly appreciated.


    davis Guest

  2. Similar Questions and Discussions

    1. How to let objects in a cast member be a child of agroup(or a model) in another cast member?
      I want to add a model to the scene. I try this code: member('world').newgroup('gr2') member('world').group('gr2').addchild(member('r2').model(1)) ...
    2. create external cast with lingo?
      Is it possible to create an external cast with lingo? My purpose is to develop a program that collects input from a user and then stores that...
    3. How do I Allow User to Create Media Cast Members
      Hi, I am new to the forum, my name is Kieron from Stafford, England. I am a full time Interactive Multimedia Communication degree student. ...
    4. 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...
    5. changing the cast number of a cast at authoring time?
      is it possible to change the cast number of a cast at authoring time?
  3. #2

    Default Re: create new cast

    I don't believe that you can create a new castlib with lingo.

    Also the function new(#field) creates a new member automatically in
    the fist castlib if no member-castlib parameter is included. There is
    no need for you to put the result of new() into a castlib.
    JB Guest

  4. #3

    Default create new cast

    well let me ask then i am creating new fields based on the # of chars in a
    txt document how can i have the projector check for these created fields on
    the start of the movie and if they are present unload or erase them since i
    want to start fresh every time. thanks

    davis


    davis 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