Hi
I am using Director 7.02 for Windows. I am creating a writing program for
children in which a sentence is read (spoken) and each word highlighted by
changing its colour from black to red as the word is spoken.
This works fine if I put the text into a field cast member but if I use a
text cast member I get the following problem:
with many fonts - especially if I use a bold fontstyle - the word that is
changed colour moves (to the left) - and then moves back when returned to
black.
I change the colour of the word and then reset the colour of the whole cast
member to reset its colour (this is faster than resetting the colour of just
that word back to black).
I change the colour of words using
member("textbook").word[ia..ib].color = rgb(255, 1, 1)
and reset to black with
member("textbook").color = rgb(0, 0, 0)
The problem does not occur with all fonts but happens with fonts such as
Comic Sans and most fancy fonts.
There seems to be an issue here with the anti-aliasing of text members in
Director 7. I also notice that often the lower part of the descenders in the
letters remain black when a word is set to red.
Does anyone have any experience of this? I want to use text members whenever
possible because with the large font sizes needed for children the
anti-aliasing makes such a difference.
Any suggestions on how I can get around this (other than warning the user
some fonts will give problems)?
While on this I also have encountered an issue with field cast members. If
you use an "italic" fontstyle and then set the fontstyle to "bold" the
italic style is not reset - you get "bold,italic"! Only by setting the style
to "plain" first can you remove the italic setting. In this case text cast
members are better - choosing [#bold] clears the italic setting.
Any comments appreciated
Trevor Geddes
------------------------------------------------------
We produce computer programs for language development.
Look us up at http://geddesproductions.com
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]