 package spark.components
 {
 import flash.events.Event;
-import spark.components.Group;
 import spark.layout.VerticalLayout;
+import spark.layout.supportClasses.LayoutBase;
 
 [IconFile("VGroup.png")]
 

     *  @playerversion AIR 1.5
     *  @productversion Flex 4
     */  
	public function VGroup():void
	{
		super(new VerticalLayout());
	}
	
    private function get verticalLayout():VerticalLayout
    {
        return VerticalLayout(layout);

    public function get lastIndexInView():int
    {
        return verticalLayout.lastIndexInView;
    }

    //--------------------------------------------------------------------------
    //
    //  Overridden Properties
    //
    //--------------------------------------------------------------------------
    
    //----------------------------------
    //  layout
    //----------------------------------    
        
    /**
     *  @private
     */
    override public function set layout(value:LayoutBase):void
    {
        throw(new Error(resourceManager.getString("components", "layoutReadOnly")));
    }
    
    //--------------------------------------------------------------------------
    //
