I want to add a label in flex to display m/s2 (read meters per second square). I would need to use superscripting for this.
I have tried out the following code whic
I think you've to do something like this
var xmlText:String = "" + "m/s 2" + ""; var txtFlow:TextFlow = TextFlowUtil.importFromXML(xmlText); var richTxt:RichText = new RichText(); richtxt.textFlow = txtFlow;
I've not tested it so please excuse me of any compilation errors.