Thanks Paul,
It's good to know what you added.
I added 1 empty line between these 5 lines but not after the last one (yz). Then commented out your added line and still when clicking on the empty lines between the lines with the 'words' there is no error message. But clicking below the last one does create an error message (see the stack).
An additional comment to Richard's post:
If I create a field with a text in it and put this code into the field's script:
Code: Select all
on mouseUp
if the textColor of me = "blue" then
set the textColor of me to "red"
else
set the textColor of me to "blue"
end if
end mouseUp
then the toggling works OK even though I did not use the numerical values for colors. There is some inconsistency there...
keram
Using the latest stable version of LC Community 6.7.x on Win 7 Home Premium, 64bit