Open leo-cheron opened 13 years ago
Applying a style on a textfield built in flash IDE does not work if the assigned text is defined as htmlText.
eg:
[...] var style : IStyle = _styleSheet.getStyle("#myStyle", ".global"); textFielApplicator.applyStyle(myTf, style); myTf.htmlText = "my text"; [...]
In this case, the text won't be displayed, as if font has not been embed. myTf.text= "my text" definitly works in this same case.
Applying a style on a textfield built in flash IDE does not work if the assigned text is defined as htmlText.
eg:
[...] var style : IStyle = _styleSheet.getStyle("#myStyle", ".global"); textFielApplicator.applyStyle(myTf, style); myTf.htmlText = "my text"; [...]
In this case, the text won't be displayed, as if font has not been embed. myTf.text= "my text" definitly works in this same case.