0 Replies Latest reply on Dec 31, 2009 8:34 AM by W_Bell

    Text Area format Bug only affects IE6 and FF3

    W_Bell Level 1

      Text Area format Bug that seems only to affect IE6 and FF3 on Win2000.

      There is no problem on Vista. The TexArea loads dynamically OK until

      you load another .txt file then the text gets messed up. The line extends

      to the next line leaving the first letter behind until you refresh by re-selecting it.

       

      thisText = new LoadVars();
      thisText.load("plaintextfile.txt");
      thisText.onLoad = function(success) {
           if (success) {
               HomeTxt.text = thisText.myText;
           }
      };

       

      //My styles are set once

       

      HomeTxt.setStyle("borderStyle","none");

      HomeTxt.setStyle("backgroundColor",0xEFEDE7);

      HomeTxt.setStyle("fontSize",14);

      HomeTxt.setStyle("textAlign","justify");

      HomeTxt.setStyle("marginLeft",20);

      HomeTxt.setStyle("marginRight",20);

      HomeTxt.setStyle("fontFamily ","Trebuchet MS");