      */ 
     public function ensureElementIsVisible(element:IVisualElement):void
     {   
+        ensureElementPositionIsVisible(element);
+    }
+    
+    /**
+     *  @private
+     *  
+     *  @param elementLocalBounds ensure that these bounds of the element are 
+     *  visible. The bounds are in the coordinate system of the element
+     *  @param doValidateNow if true, call validateNow() at the end of the 
+     *  function 
+     */  
+    private function ensureElementPositionIsVisible(element:IVisualElement, elementLocalBounds:Rectangle = null, doValidateNow:Boolean = true):void
+    {
         // First check that the element is a descendant
         // If we are a GraphicElement, use the element's parent
         var possibleDescendant:DisplayObject = element as DisplayObject;

        else
            snapContentScrollPosition();
    }

}

}

     *  @private 
     */
    mx_internal var preventThrows:Boolean = false;
    
    /**
     *  @private 
     */
    private var lastFocusedElementCaretBounds:Rectangle;
    
    //--------------------------------------------------------------------------
    //
    //  Properties
