      */
      override public function elementRemoved(index:int):void
      {
-        if (useVirtualLayout)
-            llv.remove(index);
+        if ((index >= 0) && useVirtualLayout)
+            llv.remove(index);  // remove index parameter is uint
      }     
 
     /**

                for (index = startIndex; index <= endIndex; index++)
                {
                    elt = layoutTarget.getVirtualElementAt(index);
                    h = calculateElementHeight(elt, targetHeight, containerHeight);
                    y = calculateElementY(elt, h, containerHeight);
                    elt.setLayoutBoundsSize(elt.getLayoutBoundsWidth(), h);
                    elt.setLayoutBoundsPosition(elt.getLayoutBoundsX(), y);
                }
             }

     */
     override public function elementAdded(index:int):void
     {
         if ((index >= 0) && useVirtualLayout)
            llv.insert(index);  // insert index parameter is uint
     }

    /**
