0 Replies Latest reply on Sep 11, 2007 6:52 AM by Newsgroup_User

    yet another bug in AS3 combo-box component - part II (now its TextInput)

    Level 7
      a while ago i stumbled upon a bug concerning the combo-box component,
      masking and font-emdeding (you can read all about it here -
      http://groups.google.com/group/macromedia.flash.actionscript/browse_thread/thread/b7c10519 085e1c1b/1a158b872da4dd37?lnk=gst&q=text+input+embed+fonts&rnum=5&hl=en#1a158b872da4dd37

      anyhow - after some further research, i've discovered it has nothing to do
      directly with the combo-box component and the mask, but only with the
      TexInput component (which is a 'sub-component' of the combo-box), which
      actually can't have its fonts embedded.

      try the following code in an empty fla (AS3):
      import fl.controls.TextInput;
      var ti:TextInput = new TextInput();
      ti.text = "abc";

      let me know if you are able to indeed see 'abc' inside the component on the
      stage. the only way, is to set the embedFonts to false (or simply remove
      this line).
      and in case you wonder - yes i've also tried it with this line -
      'ti.setStyle("fontFamily","myTahoma");' (after properly linking the font
      symbol in the library).

      all this means, that if you have a text-input component (or a combo-box
      containing it) below a mask, you won't be able to see the content of the

      does anybody have a solution for that????
      thanks in advance,