>Record is a text field which automatically generates a list of
>names displayed on the opening screen. I intend to ask the user to
>choose his name from the list provided.
Then you could display the names like this:
on beginSprite me
member("Name Display").text = ""
repeat with i = 1 to member("record").text.line.count
aName = member("record").text.line[i]
put aName & RETURN after member("Name Display")
end repeat
end beginSprite
There are more efficient and elegant ways of doing the same thing, but this
is the most straightforward.
> If it is not there, the user types his name in.
You will need an editable text field on screen for that.
>However, is it better to call upon an external text file instead of an
>internal field?
Sometimes. The field approach is faster. If you're going to save the new
names, though, you'll need to use a file. Check out the fileIO Xtra. It's
pretty well documented in tech note 14607 at
http://www.macromedia.com/support/director/ (click on Tech note index).
>By the way , do you know of some generic code I may learn from?
There's a lot--check out the "Tutorial and Article Index" and "Director
Examples" on the Macromedia site. Also, Director ships with a lot of sample
movies, and you can learn a lot by studying the built-in behaviors.
Cordially,
Kerry Thompson
[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!]