1 Reply Latest reply on Jun 26, 2007 9:50 PM by rossmurphy88

    Updating text boxes using onKillFocus

      I have 4 text boxes. The first 3 are input text boxes and the 4th is a dynamic text box. When the user enters a numerical value in the first box then clicks the second, the onKillFocus adds the numbers from the 3 boxes together and displays the total in the 4th box. The same happens when data is entered into the 2nd and 3rd boxes. Here is my code:

      onClipEvent (enterFrame) {
      this.income_salary.onKillFocus = function() {
      this.income_total.text = "1";

      The problem im having is that the income_total (4th) box won't update when the function exectues, yet the trace statement executes.

      Can anyone help?