     import flashx.textLayout.tlf_internal;
     import flashx.undo.IUndoManager;
     
+    import mx.core.FlexVersion;
     import mx.core.IFlexModuleFactory;
     import mx.core.IIMESupport;
     import mx.core.ISystemCursorClient;
     import mx.core.UIComponent;
+	import mx.core.UIComponentGlobals;
     import mx.core.mx_internal;
     import mx.events.FlexEvent;
     import mx.managers.IFocusManager;

        override public function set percentHeight(value:Number):void
        {
            super.percentHeight = value;
            
            heightConstraint = NaN;
            
            // If we were autoSizing and now we are not we need to remeasure.
            invalidateSize();

            _heightInLines = value;
            heightInLinesChanged = true;
            
            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_5)
                setEstimatedSize(estimatedWidth, NaN);
            
            invalidateProperties();
            invalidateSize();
