0 Replies Latest reply on Dec 14, 2006 4:35 PM by >Vee<

    dynamically created text looses formatting

    >Vee< Level 1
      my dynamically created text looses formatting after I try to show the percent loaded from my moviecliploader or if I just have a button that has a simple:
      dummy_mc.percent_txt.text="testing";
      The text does not disappear but it simply looses all formatting, going back to its default, times roman, black format. I am creating this text within a loop like this:
      dummy_mc.createTextField("percent_txt", 999, 10, 10, 100, 30);
      dummy_mc.percent_txt.text = "Hello";
      dummy_mc.percent_txt.autoSize = "center";
      dummy_mc.percent_txt.selectable = false;
      dummy_mc.percent_txt.embedFonts = true;
      dummy_mc.percent_txt.setTextFormat(_root.br_0_fmt);
      Why does it keep loosing format? And what should I add to my moviecliploader.onStart to prevent this?