If you were to compile your program into a projector right now, when
you ran it it would only display for a fraction of a second before
quitting on its own.
This is because the Score has no way of knowing
that it's supposed to pause and wait for user input of some kind, so
what happens is the projector launches, blows right through the one
frame of your Score and, encountering no other frames with things in
them, quits.
That's no fun.
You need, then, a way to tell Director to wait until the user does something.
Just above the cell in the Score that contains the text field's item,
there should be a channel open with an icon that looks like a little
window with tiny text in it. This is a Score script channel, and you
can use it to tell Director to do all sorts of things at a given frame.
In this case, we want the program to pause.
|