
You can set the value of a dynamic text
field to display information generated
by ActionScript. Dynamic text fields are
used to display things like game scores
or results in an application like a
calculator.
Create a Dynamic Text Counter
Create a Dynamic
Text Counter
240
1 Click the Text tool ( ).
2 Open the Properties panel.
3 Click the top drop-down list in
the Properties panel and choose
Dynamic Text.
4 Click and drag on the Stage to
create a dynamic text field.
5 Click here and type an instance
name for your text field.
In this example, the text field has
the instance name myField.
6 Create a button instance on the
Stage.
Note: See Chapter 8 to ...