Dynamic Text

To be able to change the words in a text box using ActionScript, it must be set as dynamic text.

  1. Using the ordinary text tool in the toolbox, draw a text area.
  2. In the properties select dynamic text and give it a name.
  3. Now it can be changed using ActionScript:
    youranswer.text= "Yes, you got it";
    (or, from an actionscript class .as file _root.youranswer.text = "message";)