12-06-2010 08:03 PM
I just noticed that HTML superscript and subscript do not work in Label.htmlText.
For example:
myLabel.htmlText = "H<sub>2</sub>O";
outputs H2O.
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?
Thanks!
12-06-2010 08:39 PM
hey kaputafj,
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:
http://livedocs.adobe.com/flash/9.0/ActionScriptLa
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:00 PM
Thanks, I bet you're right.
It would be nice to see the same level of detail for the QNX class.
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 ![]()