0 Replies Latest reply on May 10, 2007 4:47 AM by chrisatflash

    sharpness font styles

    chrisatflash Level 1
      Hello,

      I finally got embedded text fields working.

      I used this for example:
      textfield_txt.multiline = true;
      textfield_txt.wordWrap = true;
      textfield_txt.sharpness = 20;
      textfield_txt.thickness = -150;
      textfield_txt.embedFonts = true;
      textfield_txt.antiAliasType = "advanced";
      textfield_txt.html = true;

      Now you can add in your Library your own font's with an identifier.
      For example if you write <font face='family'>This is family</font> and <font face='yourfont'>This is your font</font>
      Then you can embed differt font's in one textfield.

      But does anyone know how to style the sharpness and thickness of a font, because it apply's to the whole textfield.

      Something like

      arial.sharpness = 100;
      yourfont.sharpness =50;

      ??

      Does anyone has experience at this level?

      Regards,

      Micheal.