How do you scroll a text member to the bottom?

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

  1. #1

    Default How do you scroll a text member to the bottom?

    Hello all. I'm new in Director. I have a question on text scrolling. The
    text, unlike field member, cannot use scrollByLine or scrollByPage. The text
    that I have will be updated by the script and it needs to be in colors, thus
    omitting field member as an option. It's for chat function where you will
    see the last message on the bottom and the scroll has to stay on bottom
    unless the user scrolls it up.

    Please help.


    Jerry Ndo Guest

  2. Similar Questions and Discussions

    1. Scroll Bar at bottom
      I'm using a frame set and have a scroll bar at the bottom of the page I dont want. I assume this has to do with the page fitting into the browser. ...
    2. text attached to bottom of browser
      I have some information I would like to stay at the bottom of the browser at all times (the copyright information and text links). I have an 800x600...
    3. Scroll bar cuts off bottom text
      Flash MX I've got a scroll bar component and it works, the problem is the very last couple lines can't be seen when I scroll down. If I make a...
    4. body text at bottom of page
      how do I get the body text to move up the page in the source code, but not on the webpage. The navigation bars push it down to where it shouldn't...
    5. Is it possible to detach text member from its scroll bar ???
      Hi , Let's assume that I got a text member and an attached a custom scroll to it. Can I detach the text member from its scroll just for a little...
  3. #2

    Default Re: How do you scroll a text member to the bottom?

    On 09 Dec 2003, "Jerry Ndo" <ndookie2000@yahoo.com> wrote:
    > Hello all. I'm new in Director. I have a question on text scrolling.
    > The text, unlike field member, cannot use scrollByLine or
    > scrollByPage. The text that I have will be updated by the script and
    > it needs to be in colors, thus omitting field member as an option.
    > It's for chat function where you will see the last message on the
    > bottom and the scroll has to stay on bottom unless the user scrolls it
    > up.
    Subtract the member's height from the sprite's height and set the member's
    scrollTop property to the difference.

    #field members can have colors, too. It's just that if you're manipulating
    chunks of text in them, you have to use the old syntax and they use the
    indexed color system.

    set the foreColor of word 3 of field "fieldMember" to 6

    To convert a color object to a palette index:

    idx = rgb(255,0,0).paletteIndex
    set the foreColor of word 3 of field "fieldMember" to idx


    --
    Mark A. Boyd
    Keep-On-Learnin' :)
    Mark A. Boyd Guest

  4. #3

    Default Re: How do you scroll a text member to the bottom?

    Thanks, Mark. You're da man!

    "Mark A. Boyd" <mblist@sanDotrr.com> wrote in message
    news:Xns944CBA22C53CBmblistssanDotrrcom@65.57.83.2 09...
    > On 09 Dec 2003, "Jerry Ndo" <ndookie2000@yahoo.com> wrote:
    >
    > > Hello all. I'm new in Director. I have a question on text scrolling.
    > > The text, unlike field member, cannot use scrollByLine or
    > > scrollByPage. The text that I have will be updated by the script and
    > > it needs to be in colors, thus omitting field member as an option.
    > > It's for chat function where you will see the last message on the
    > > bottom and the scroll has to stay on bottom unless the user scrolls it
    > > up.
    >
    > Subtract the member's height from the sprite's height and set the member's
    > scrollTop property to the difference.
    >
    > #field members can have colors, too. It's just that if you're manipulating
    > chunks of text in them, you have to use the old syntax and they use the
    > indexed color system.
    >
    > set the foreColor of word 3 of field "fieldMember" to 6
    >
    > To convert a color object to a palette index:
    >
    > idx = rgb(255,0,0).paletteIndex
    > set the foreColor of word 3 of field "fieldMember" to idx
    >
    >
    > --
    > Mark A. Boyd
    > Keep-On-Learnin' :)

    Jerry Ndo 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