Hi all,

I'm new to the list and need some help - sorry for jumping right into it 
like this!

I'm trying to make a word sleuth (you know, a square of humbledy jumbledy 
letters out of which you have to find certain words out of consecutive 
letters going in various directions) in director and am having trouble with 
the script for selecting the words.

I'm a rank beginner at lingo and have been using the Help files and trial 
and error but am just totally stuck now.  I am sure there are better ways 
to do it but what I have done so far is this: every time a letter (sprite) 
is clicked on it changes colour, and if it's clicked again it goes back to 
the original colour (as a way of deselecting).  My idea is that if someone 
clicks on all the letters in the word, that word becomes "selected" and 
changes to a third colour, and then gets crossed off a list.

I've managed to make a script work for toggling the colours.  Can someone 
please help me with a way to say, "when this sprite *and* this sprite *and* 
this sprite are all "x" colour, change the colour of all those sprites to 
"y" colour."  It's the changing the colour of all the sprites at once that 
I seem to be stuck on.  (When I was trialling and erroring(!) I managed to 
get it to move to a different frame - which I don't need it to do...lol... 
when they were all the same colour, but not to change colour.)

I am really stumbling in the dark here.  I wondered if I needed a property 
for each word and then a way of saying "when all the sprites are x colour 
then property *word* is true" - and then when property *word* is true, do 
this or that?

I don't know if I'm making any sense but if anyone can work out what I'm 
saying, I would appreciate it *very* much!

Vicki.  :-)


[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!]

Reply via email to