Hi all

the ringing silence about my last post tells me that maybe I failed to make myself clear . Sorry if that is the case. I'll try to do better, and would very much appreciate any help anyone can offer.

The first thing I need to do is to write a function which can search through all the members of a cast to see if they contain the text that has been typed into a search field. I have managed the following:

on mouseUp me
 if member(1).text contains member("searchWord").text then
   member("results").text = member(1).name & RETURN
 end if
end

This works fine, but how do I instruct Director to go through *all* the members of a given cast and compares them with the searchWord text. I can't seem to find out how Lingo does this. Sorry again to all you experts out there, it is probably very simple but I can't find it in any of the books. I have had a stab at variations on the

repeat with i = 1 down to ...

type of code, but none of them seem to work. I'm sure I'm missing something basic.

Once I've cracked this stage, I can then go on phases two and three of the problem. But I'll leave them for now, in the hope that someone can very kindly get me round this mental block.

thanks


Chris


_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo

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

Reply via email to