1 Reply Latest reply on Feb 5, 2011 7:35 AM by Espis1

    TLFTextField and Fonts

    Espis1

      I am attempting to dynamically display  standard "symbol" fonts in a TLFTextField using the AS3 code below:

       

      import fl.text.TLFTextField;

       

      var tf:TLFTextField = new TLFTextField();

      tf.tlfMarkup = "<TextFlow xmlns=\"http://ns.adobe.com/textLayout/2008\"  fontSize='14'><span  fontFamily=\"Symbol\">test</span></TextFlow>"

      addChild(tf);

       

      The text "test" appears as an Arial font, not a symbol font.  I have triedseveral things including font embedding, but nothing made a difference.  Does anyone have a suggestion?  When I do this in classic TextField, it works fine.