 import flash.display.Graphics;
 import flash.display.Sprite;
 import flash.events.Event;
-import flash.geom.Matrix;
 import flash.geom.Rectangle;
 import flash.text.engine.TextLine;
 
 import flashx.textLayout.compose.TextLineRecycler;
 
-import mx.core.IVisualElementContainer;
 import mx.core.UIComponent;
 import mx.core.mx_internal;
 import mx.events.FlexEvent;

import mx.utils.NameUtil;

import spark.components.Group;
import spark.core.IGraphicElement;

use namespace mx_internal;

        if (clipText)
        {
            alwaysCreateDisplayObject = true;
            if (displayObjectSharingMode == DisplayObjectSharingMode.OWNS_SHARED_OBJECT)
                return;
        }
        
