A question occurs to me - Does anybody USE a member's .comment property to store text info related to that member?
-Buzz At 4:05 PM -0800 2/19/02, you wrote: > > Im working on a yearbook that i am creating using director. the search >> function that i want to create is like "when u search for a name of a >> person, it will return the picture and the writeup for that person." >> >> I dont know how to code the lingo for this. so, anybody out there who >> had already done this? >> >Pretty complicated to code the whole thing in my head, but here's a >start: > >Put the pictures in a cast, the writeups in another cast, and the names >in another cast (separate casts will help you stay organized). > >Use a property list something like this: > >studentList = [#chambers_james: [chambers_j_pic, chambers_j_txt, "James >Chambers"], #holgate_colin: [holgate_c_pic, holgate_c_txt, "Colin >Holgate"]] > >Have fields for first and last names. When somebody types in the name, >concatenate them with something like: > >searchName = symbol(lastName & "_" & firstName) > >Then use the standard Lingo property list retrieval functions to get the >appropriate sub-list. For example: > >studentRecord = studentList.getOne(searchName) >studentPic = studentRecord[1] >studentBio = studentRecord[2] >studentName = studentRecord[3] > >Now you've got the cast member for the picture and writeup, and the >student's name. All you have to do is display them. > >HTH. > >Cordially, > >Kerry Thompson >[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!]
