createTextField() in Lingo????

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

  1. #1

    Default createTextField() in Lingo????

    Is there a way to duplicate or create new text field members in Lingo? In Actionscript I'd do this with the createTextField () method... I'm working on a huge CD-ROM project that would be greatly improved with this simple functionality.

    Thank you in advance very much for your help.

    -Sam


    samwilson123 webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. createTextField crossdomains
      Picture this. You have two flash movies one uses the standard createTextField file1.swf (located at www.mydomain.com): ...
    2. createTextField issue
      I have a serious problem trying to create text fields based on variables that I load from external text files. Have a look below. Inside the...
    3. createTextField _rotation problem
      i have the same problem and was so happy to find that thread! But where is the solution ? ever when i used the embedFont property the text...
    4. Using shared fonts with createTextField() in 2004
      Hi, Are we still unable in Flash MX 2004 to use a shared font with dynamically created textFields? I'm developping an Intranet, wich should make...
    5. createtextfield command
      I am using the createTextField command, and when trying to work out the width it always returns the value 4. Is this something to do with the fact i...
  3. #2

    Default Re: createTextField() in Lingo????

    To create a new member:

    newMemberNum = new(#field)

    Getting it into the score is a bit more trickey, if automating the
    authoring process one could use scorerecording.
    JB Guest

  4. #3

    Default Re: createTextField() in Lingo????

    Thank you, I found a pretty useful method that I've been studying, which has revealed to me how to create dynamic sprites/members in Director:

    on createManyTextMembers me
    stopwatch_start=the milliseconds
    repeat with i= 2 to 101
    newmem=new(#text, castLib("bulletCast"))
    newmem.text=string(i-1)
    newmem.fontSize=9
    --create sprites from 11 and upwards
    puppetSprite i+10, 1
    sprite(i+10).member=member(newmem.member.number)
    -- never mind the loc, it looks ugly, I just want Director to draw to the stage.
    sprite(i+10).loc=point(10, i*10)
    end repeat
    --compare forcing Dir to redraw the stage before putting the alert up and
    --stopping the timer, and not doing that - by commenting out the updatestage command.
    updatestage

    stopwatch_stop=the milliseconds
    alert "total time:" && stopwatch_stop-stopwatch_start && "milliseconds" & RETURN & "started at" && stopwatch_start & RETURN & "stopped at" && stopwatch_stop
    end

    Thanks again for your help!



    samwilson123 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