|
How to create a text field with Authoring tools
And control the text using Actionscript and Dynamic text
Steps to Creating A Motion Tween with a movie clip on the main time line
-
Step 1) Select the text tool in the tool bar (the Large A)
Step 2)
Chose "Dynamic Text" and also "Anti-alias for readability" (alternately you could chose "anti-alias for animation").
Step 3)
Choose either Single or Double line, then press the Embed Button. This button lets you tell flash what characters should be available to you in the text field. 
Step 4) After you press embed, you will see a text box like the one pictured below. Choose the characters that you want to be able to use in your text field.
5) With the text tool, draw a rectangular area on the stage. This area is the area of the text field that you just created.
-
Step 6) In the property inspector, give the text field a name. This example will use the name myField_txt
- Step 7) Lets use some actionscript to display text in the text field. We are going to display the position of the mouse cursor. (Note: the code below works for Actionscript 2)
Top
|