Background Color change on a SINGLE line of text.

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

  1. #1

    Default Re:Background Color change on a SINGLE line of text.

    Thanks, but that won't work for what I'm doing. I'm creating a user populatable multi-select field. If there are a large number of options both added and selected an insertion or overlay option could get real hary real quick.


    Délon webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. How to change the color of the LinkBar background.
      Hi, I am using link bar and by default when I click on the links it shows the blue color in the link background. I want to change this blue color to...
    2. Can't change background color
      The area of the screen outside of the editing area of Image Ready used to be a light gray color. This would make it easy for me to see where the...
    3. dynamically change of the background color
      Hi All. I am new to this forum and I am seeking help with an issue I have recently encountered. Here is the context of my problem: I have an...
    4. change background color with script?
      Hi There! I'm producing a photo-presentation for an exhibition. I have two questions: 1. The movie does not flow smoothly, I created a motion...
    5. Line drawing bleeding color into background
      I use Photoshop to create graphics for the library I work in. I used it to make a floorplan of the library--a line drawing of black on a white...
  3. #2

    Default Re: Background Color change on a SINGLE line of text.

    Dot syntax does not work consistently with text and field members, it's been
    discussed and documented quite a bit in this NG. So you have to use verbose
    syntax when dealing with these member types. Regarding your hilighting
    issue, I don't think there is an easy way to do it...I'm sure someone will
    correct me if I am wrong. What I would suggest is to use a vector shape
    that you can lay either over or under your text block (whichever works) that
    can change it's color and transparency to achieve the effect you desire. If
    you are not very lingo savvy then you could just use several vector shapes
    and turn them on or off depending on the line that needs hilighting (will
    still require some lingo). Or if you are pretty good with lingo then you
    can try placing the vector member on the fly.

    hth,
    Doug
    "Délon" <webforumsuser@macromedia.com> wrote in message
    news:bfpstj$hjs$1@forums.macromedia.com...
    > I am trying to change only the background color of only a single line in a
    block of text.
    > (though the entire line, not just the worded portion)
    > Ex.
    > | Line 1 |
    > | Line 2 |
    > | Line 3 |
    > | Line 4 |
    >
    > However I want to have control over the background color, which I havn't
    found with the
    > "hilite()"option...and that only hilites text, and ot the entire line
    anyway.
    >
    > While:
    > member("MyTextMember").bgcolor=rgb( 255, 0, 0 )
    > member("MyTextMember").backcolor=7
    > member("MyTextField").bgcolor=rgb( 0, 255, 255 )
    > member("MyTextField").backcolor=9
    >
    > ...all work for changing the background of the ENTIRE cast member...that's
    not what I'm after.
    >
    > However, while this works:
    member("MyTextMember").line[1].forecolor=8
    > the logical extention does not:
    member("MyTextMember").line[1].backcolor=8
    >
    > Can anyone give me a hand?
    >
    >

    Doug Golenski 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