12-06-2010 08:03 PM
I just noticed that HTML superscript and subscript do not work in Label.htmlText.
myLabel.htmlText = "H<sub>2</sub>O";
The same goes for superscript (<sup>). Other attributes (<b>, <i>, <u>) seem to be supported.
Does anyone know if this is by design, or can I expect it to work in the very near future?
12-06-2010 08:39 PM
if the htmlText property of the Label object is anything like the htmlText property of the TextField object from the flash.text package (im gonna bet it is) then the supported html tags are available in the following link:
scroll down to the table and it lists them all. <sub> and <sup> do not seem to be supported. hope that helps!
12-06-2010 10:09 PM
i know what you mean. but they've come around with the documentation since the first version of the SDK. Now they have a lot more examples so thats a plus. Work in progress