1 Reply Latest reply on Mar 18, 2007 12:34 PM by kglad

    format of a dynamic text field lost when the value is changed

    Level 7
      I have a text filed created using createTextField() and ist properties set
      this way:
      .type = "dynamic";
      .html = true;
      .text = some_variable;
      var TextFormat = new TextFormat();
      set some formats
      .setTextFormat(TextFormat)

      It works fine - it shows the initial value of some_variable (which is a
      number) formated as I wanted it.
      However as soon as some_variable is incremented (++) by some other function
      (which has no operatoprs affecting formastting), the format of this field is
      lost.

      Where shall I look for an error to?