2 Replies Latest reply on Mar 24, 2008 6:04 AM by teemflmngo

    Adding Input Text at Runtime

      I have a button that allows viewers to add text to an online application, but I only know how to set the input text box parameters in advance. Currently, when the viewer clicks on the button, an input text box is placed on the stage at a pre-determined size. I would like for the text box to fit the size of the text, so that if the viewer enters 50 pixels worth of text, the text field is 50 pixels long. If I make the text field large enough for longer input, viewers who try to select a background object by clicking off to the side of the text still click on the text field.

      Could anyone point me to a tutorial or offer any suggestions about how to accomplish this?