1 Reply Latest reply on May 13, 2008 9:18 AM by robdillon

    Embedding font in ComboBox

    brian914 Level 1
      I am using the following, but my fonts seems to not embedd. I have the font in the library and the linkage ID is correct. What am I missing?

      Thanks a lot for any help!



      var my_fmt:TextFormat = new TextFormat();
      my_fmt.font = "metaBold";

      this.tf_checkBox.embedFonts = true;
      this.tf_checkBox.setTextFormat(my_fmt);

      this.tf_checkBox.label = "Subscribe to Mailing List";
      this.tf_checkBox.setStyle("fontWeight", "bold");
      this.tf_checkBox.setStyle("color","0x000000");
      this.tf_checkBox.setStyle("themeColor","0x000000");
      this.tf_checkBox.setStyle("fontSize","11");