         if (viewport && index == 0)
             return viewport;
         else
-            throw new RangeError("Index " + index + " is out of range");
+            throw new RangeError(resourceManager.getString("components", "indexOutOfRange", [index]));
     }
     
     /**

     */
    public function addElement(element:IVisualElement):IVisualElement
    {
        throw new ArgumentError("This operation is not supported");
    }
    
    /**

     */
    public function addElementAt(element:IVisualElement, index:int):IVisualElement
    {
        throw new ArgumentError(resourceManager.getString("components", "operationNotSupported"));
    }
    
    /**
