To be able to change the words in a text box using ActionScript, it must be
set as dynamic text.
- Using the ordinary text tool in the toolbox, draw a text area.
- In the properties select dynamic text and give it a name.
- Now it can be changed using ActionScript:
youranswer.text= "Yes, you got it";
(or, from an actionscript class .as file _root.youranswer.text = "message";)