htmltext of TextArea in Flex 3 disappears when embedding fonts!

Posted by Ali Syed on Stack Overflow See other posts from Stack Overflow or by Ali Syed
Published on 2010-04-15T03:33:58Z Indexed on 2010/04/15 3:43 UTC
Read the original article Hit count: 1186

Filed under:
|
|
|
|

hello, I have textArea which gets the text through user input in runtime. User input comes through Richtexteditor so it is html I save the html text from Richtexteditor to textArea's htmltext property. everything seems to be fine! till I try to embed fonts!! (I need to embed fonts because I apply a fade effect to the TextArea.) With embedded fonts the text simply disappears! could you help me out here please! i am really desperate! Ali M Syed

@font-face { src:local("Arial"); fontFamily: ArialEmbedded; }

. . .

body.setStyle("fontFamily", "ArialEmbedded");

body is TextArea

© Stack Overflow or respective owner

Related posts about flex

Related posts about textarea