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

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

package spark.components
{
import flash.events.Event;
import spark.layout.VerticalLayout;
import spark.layout.supportClasses.LayoutBase;

[IconFile("VGroup.png")]

