      */    
     public function set itemIndex(value:int):void
     {
+		var wasLastItem:Boolean = isLastItem;		
+		var dataGroup:DataGroup = parent as DataGroup;
+		isLastItem = (dataGroup && (value == dataGroup.numElements - 1));
+		
+		// if whether or not we are the last item in the last has changed then
+		// invalidate our display. note:  even if our new index has not changed,
+		// whether or not we're the last item may have so we perform this check 
+		// before the value == _itemIndex check below
+		if (wasLastItem != isLastItem) 
+			invalidateDisplayList();
+
         if (value == _itemIndex)
             return;
         

		}
		
		graphics.beginFill(bottomSeparatorColor, bottomSeparatorAlpha);
		graphics.drawRect(0, unscaledHeight - (isLast ? 0 : 1), unscaledWidth, 1);
		graphics.endFill();
		
		

     */
    private var interactionStateDetector:InteractionStateDetector;
    
	/**
	 *  @private
	 *  Whether or not we're the last element in the list
	 */
	private var isLastItem:Boolean = false;
	
    //--------------------------------------------------------------------------
    //
    //  Overridden properties: UIComponent
