Absolutely! Read a bit on the .ref lingo for text members. You can build
a property list for a text sprite that will color lines (or change fonts,
sizes, etc) based on this list, ie
myRef = sprite(mysprite).member.char[1..10].ref
myRef.color = rgb(0,255,0)
would change the characters 1 through 10 green.
Cool thing about refs is that they can use any kind of chunk expression so
myRef = sprite(mySprite).member.text.line[3]
would hold line 3 as the reference.
On Wed, 5 Jun 2002 [EMAIL PROTECTED] wrote:
> Thank you to everyone who responded to my query about frame behaviors.
>
> One other question. You can change the font color of an entire field member by
> using either color or foreColor. However, when you try and isolate it to a
> line (i.e. member("field").line[1].foreColor = 50 or
> member("field").line[1].color = rgb(255,0,0)), no luck - property not found.
> This method only works on a text member.
>
> Is there any other way to isolate the font color of a line or char in a field?
> If not, I have a database with dozens of lines of results, will putting those
> results in a text member rather than a field member cause any speed or other
> issues?
>
> Thanks,
> --Craig
>
> Craig Taylor
> Renegade Digital Media Inc.
> [EMAIL PROTECTED]
>
> [To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/lingo-l.cgi To post messages to the list, email
>[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
>learning and helping with programming Lingo. Thanks!]
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]