1 Reply Latest reply on Nov 11, 2008 3:28 AM by Devendran

    Change button name/text


      I have created some simple text buttons (with the text as static text type). Now I want to make the text of the buttons dynamic. How do I do it?

      I have tried to change the text to dynamic text type, but then the button stops working. In addition, the following code doesn't change the text either.

      dtPlayAgain.text = "Play";

      This looks like a simple task, but I am having a lot of trouble making it work. What do I do wrong? Any help is much appreciated.