 import flash.text.engine.TextBlock;
 import flash.text.engine.TextElement;
 import flash.text.engine.TextLine;
-import flash.utils.describeType;
 
 import flex.events.TextOperationEvent;
+import flex.utils.TextUtil;
 
 import mx.core.UIComponent;
 

    {
        if (textInvalid)
        {
            _text = extractText(textFlow);
            textInvalid = false;
        }


        
        for each (p in names)
        {
            kind = TextUtil.ATTRIBUTE_MAP[p];
            
            if (kind == TextUtil.CONTAINER)
                attributes[p] = containerAttributes[p];
            else if (kind == TextUtil.PARAGRAPH)
                attributes[p] = paragraphAttributes[p];
            else if (kind == TextUtil.CHARACTER)
                attributes[p] = characterAttributes[p];
        }
        
