Dot syntax does not work consistently with text and field members, it's been
discussed and doented 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" <webforumsusermacromedia.com> wrote in message
news:bfpstj$hjs$1forums.macromedia.com...block of text.> I am trying to change only the background color of only a single line in afound with the> (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'tanyway.> "hilite()"option...and that only hilites text, and ot the entire linenot what I'm after.>
> 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'smember("MyTextMember").line[1].forecolor=8>
> However, while this works:member("MyTextMember").line[1].backcolor=8> the logical extention does not:>
> Can anyone give me a hand?
>
>
Bookmarks