xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:s="library://ns.adobe.com/flex/spark">
import spark.utils.TextFlowUtil;
import flashx.textLayout.elements.*;
import flashx.textLayout.conversion.*;
import mx.utils.*;
private var xml:XML = This is a span
;
private function addContent():void {
myRET.textFlow= TextConverter.importToFlow(xml, TextConverter.TEXT_LAYOUT_FORMAT);
}