 import flash.geom.Rectangle;
 import mx.graphics.Rect;
 import mx.core.ILayoutElement;
-
+import mx.resources.IResourceManager;
+import mx.resources.ResourceManager;    
+
+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
+[ResourceBundle("layout")]
     
 /**
  *  A sparse array of "major dimension" sizes that represent 

            return 0;
            
        if (index >= _length)
            throw new Error("invalid index");            

        var distance:Number = 0;
        var blockIndex:uint = index >> BLOCK_SHIFT;

    internal static const BLOCK_MASK:uint = 0x7F;
    private var blockTable:Vector.<Block> = new Vector.<Block>(0, false);
    
    /**
     *  @private
     *  Used for accessing localized Error messages.
     */
    private var resourceManager:IResourceManager =
                                    ResourceManager.getInstance();

    public function LinearLayoutVector(majorAxis:uint = VERTICAL)
    {
