 
 import mx.components.baseClasses.GroupBase;
 import mx.core.ScrollUnit;
-import mx.layout.ILayoutItem;
+import mx.layout.ILayoutElement;
 import mx.utils.OnDemandEventDispatcher;
 
 

        if (!g)
            return 0;     

        var maxIndex:int = g.numLayoutItems -1;
        if (maxIndex < 0)
            return 0;


     *  If the specified index is invalid, or target is null, then
     *  null is returned.
     * 
     *  If the element at the specified index is null or includeInLayout
     *  false, then null is returned.
     * 
     *  @param index The index of the element to be scrolled into view.
     *  @return A Point that contains offsets to horizontalScrollPosition 
     *      and verticalScrollPosition that will scroll the specified
     *      element into view, or null if no change is needed. 
     * 
     *  @see clipContent
     *  @see verticalScrollPosition
