Requirements
   
User level
Required Products
Sample Files
Intermediate
Adobe Animate CC
as3sample-media_1.zip
 
   

Adobe Flash Player allows you to create a text field in one of the following three ways:

  • Dynamically using ActionScript at runtime
  • Visually using the Text tool at author time
  • Dynamically or visually using the TextInput, TextArea, or Label components

This sample demonstrates dynamically generated text values in the form of a paycheck calculator. Type some numbers into the text input fields to see the screen dynamically update itself. Notice that the sample uses regular text fields with font embedding turned on for the labels and display fields, and TextInput components for the typing fields.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.