The first line is a command that instructs
the movie to stop running and wait for the user to do something.
The second line creates a variable called labelText and then places
the text between the double-quotes into it.
Press F9 again to hide the actions pane. You will
see a small letter a in frame 1 of the scripts
layer to show that it now contains some actions to be carried out
when the movie gets to the frame.
It's about time that you found out if the movie works. Select Control
and then Test Movie.
The movie will be compiled and then displayed in the Flash player
window. If everything is going according to plan, you will see your
text displayed in the text box. If there is a problem with the ActionScript,
a helpful window will appear stating Flash's best guess as to the
problem. |