Start Adobe Flash Professional. Select Flash File (Actionscript 3.0) from below the Create New category on the splash screen that appears. Open the tools panel. Select "Window>Properties." Open the tools panel. Select "Window>Tools."
Select the text field icon within the tools panel. Position your cursor over the text field icon (the T icon) and depress and release the mouse button. Position your cursor on the stage where you want to place your text field. Depress the mouse button again and drag your mouse (with the mouse button still depressed) until the text field is the size you want it. Now release the mouse button.
Type in an instance name in the "Instance Name" text box at the top of the properties panel. Use the name "textBoxOne." Select the Dynamic Text option from the "Text Type" list box beneath the Instance Name text box. Select the Family list box within the "Character" subpanel in the properties panel. Scroll down the list box and select "Roman Times." Select the "Size" text box, also in the "Character" panel. Select and type in "12" in the Size text field. Select from the "Behavior" list box in the Paragraph panel the "Single Line" option.
Open the Actions editor, "Window>Action." Code an event listener for textBoxOne. Code the associated event listener function such that it will display the words "Score a Point" when the mouse is positioned over the stage and the mouse is clicked:
stage.addEventListener(MouseEvent.CLICK, displayText);
function displayText (event:MouseEvent) :void
{
textBoxOne.text = "Score a Point";
};
Select the "Syntax Check" check icon on the Action's editor's menu. Correct any errors that the syntax checker reports. Test the movie. Select "Window>Test Movie." Correct all errors that may appear in the Output window. Position your cursor over the stage and click your mouse. Check to see if the words "Score a Point" appear on the stage.