Saturday, February 12, 2011

ENTRY TEXT

HOW TO MAKE A TEXT ENTRY .

STEPS:

1. Open a new file in Flash by selecting File > New.

2. Select the Text Box tool ( ) from the tool box and draw a text box on the stage.

3. In step 2, you created a text box. We are now going to convert this text box to an Input text box. This is the type of text box that the person using your game / flash file is able to type into.To do this, click on your text box, and then select the Input Text option from the Text Type drop down Menu.

4. The next step is to make this box a variable, to do this enter a name for your variable in the variable name cell. The variable name can be anything you like really, providing you remember it and enter the same name in the dynamic text boxes cell.

5. To enable the user to see the box where they will type in, ensure that the border tool button shown here is selected. At this point of the tutorial, you have set up an input text box and given it a border and a variable name. Usually when you work with input and dynamic text boxes, you display them in different frames or scenes. However, for the purpose of this tutorial, we are going to put the dynamic text box on the same frame as our input text box. Follow the steps below to do this.

6. Once again, select the Text Tool (T ) and draw another text box on the stage.

7. This text box needs to be a Dynamic Text box so we need to select the Dynamic Text option from our text types menu.

8. In the Variable Name Cell in the Properties panel, enter the same name you entered for the Input Text box.

10. You should now be able to check that your text boxes work by selecting Control > Test Movie. When you type your text into the input text box, you will see it appear in the dynamic text box.




No comments:

Post a Comment