9 Replies Latest reply on Jun 6, 2006 6:41 PM by kglad

    textField.onChanged not working

    Flashminded
      Hello,

      I am doing some tests and I am trying to have a dynamic text field change when another text field changes. I have a button set up that will change one dyanmic text field and that works ok when I click on the button. However, when the textfield that changes from the button click changes I want that event to signal another text field to change. It's not working. Here is the code I have to change the one text field when the other text field changes from the button click.

      mainElement_txt.onChanged = function() {
      element1_txt.text = "Buzzy";
      };
      element1_txt.onChanged = function() {
      element1_txt.text = "Buzzy";
      };
      mainElement_txt.addListener(element1_txt);

      Any ideas?

      Thanks
      Dano