2 Replies Latest reply on Feb 1, 2007 2:15 PM by SymTsb

    Problem with TextField formatting

    Stargazer712
      I'm having a little bit of a problem with this very basic bit of code. The following code works fine: (I apologize for not having it in a format that may be more suitable)

      this.createTextField("my_text", this.getNextHighestDepth(), 10, 70, 400, 100);
      my_text.text = "This is my TextField.";
      //my_text.embedFonts = true;


      However, for some reason, this doesn't work. I'm baffled by why uncommenting this simple line of code makes it not show up:


      this.createTextField("my_text", this.getNextHighestDepth(), 10, 70, 400, 100);
      my_text.text = "This is my TextField.";
      my_text.embedFonts = true;


      Any help would be appreciated.