 import flash.geom.Rectangle;
 import flash.utils.Dictionary;
 
-import flex.events.FlexEvent;
-import flex.events.ItemExistenceChangedEvent;
-import flex.graphics.Graphic;
-import flex.graphics.IGraphicElement;
-import flex.graphics.IGraphicElementHost;
-import flex.graphics.MaskType;
-import flex.graphics.TransformUtil;
-import flex.graphics.graphicsClasses.GraphicElement;
-import flex.intf.ILayoutItem;
-import flex.intf.IViewport;
-import flex.layout.LayoutBase;
-import flex.layout.BasicLayout;
-import flex.layout.LayoutItemFactory;
+import mx.graphics.IGraphicElementHost;
+import mx.events.FlexEvent;
+import mx.events.ItemExistenceChangedEvent;
+import mx.graphics.Graphic;
+
+import mx.graphics.MaskType;
+import mx.utils.MatrixUtil;
+import mx.graphics.graphicsClasses.GraphicElement;
+import mx.graphics.IGraphicElement;
+import mx.layout.ILayoutItem;
+import mx.core.IViewport;
+import mx.layout.LayoutBase;
+import mx.layout.BasicLayout;
+import mx.layout.LayoutItemFactory;
 
 import mx.collections.ICollectionView;
 import mx.collections.IList;
 import mx.collections.ListCollectionView;
+import mx.components.ResizeMode;
 import mx.controls.Label;
 import mx.core.IDataRenderer;
 import mx.core.IDeferredInstance;

    [Inspectable(category="General")]    

    /**
     *  @copy flex.core.IViewport#contentWidth
     */
    public function get contentWidth():Number 
    {

    //----------------------------------
    
    /**
     *  @copy mx.core.IViewport#clipContent
     */
    public function get clipContent():Boolean 
    {
