     [Inspectable(category="General")]
 
     /**
-     *  Specifies the number of items to display.
-     * 
-     *  If <code>columnCount</code> is -1, then all of them items are displayed.
-     * 
-     *  This value implies the layout's <code>measuredWidth</code>.
-     * 
-     *  If the width of the <code>target</code> has been explicitly set,
-     *  then this property has no effect.
+     *  Returns the current number of visible items.
      * 
      *  @default -1
      */

        var p:Point = item.actualPosition;
        var s:Point = item.actualSize;
        // TBD: deal with null item, includeInLayout false.
        if ((x >= p.x) && (x <= p.x + s.x + gap))
            return index;
        else if (i0 == i1)
            return -1;

            return;    
        }
        
        // We're going to use findIndexAt to find the index of 
        // the items that overlap the left and right edges of the scrollRect.
        // Values that are exactly equal to scrollRect.right aren't actually
        // rendered, since the left,right interval is only half open.
        // To account for that we back away from the right edge by a
        // hopefully infinitesimal amount.
     
        var x0:Number = scrollR.left;
        var x1:Number = scrollR.right - .0001;
        if (x1 <= x0)
        {
            setIndexInView(-1, -1);
