Skip navigation
Currently Being Moderated

how to modify text in a textbox?

May 14, 2012 7:53 PM

Whenever i do _root.textboxname.text = "new text"; it turns the textbox blank.  What am I doing wrong?

 
Replies
  • Currently Being Moderated
    May 15, 2012 3:18 AM   in reply to ImperialUser

    How do you have it set up?

     

    Remember the text will only go the length of the textbox, so if the box is 1 character long then it will only display: n (the first character).

     

    The textbox should be dynamic or input, with an instance name. E.g. textboxname

     
    |
    Mark as:
  • Currently Being Moderated
    May 17, 2012 4:48 AM   in reply to ImperialUser

    Make sure the textfield is not set up as multiline (if it is not supposed to be)

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points