 
 package flex.component
 {
-	import flex.core.SkinnableComponent;
-	import flex.core.Group;
-	import flex.intf.IViewport;
+import flex.core.SkinnableComponent;
+import flex.core.Group;
+import flex.intf.IViewport;
+import mx.events.PropertyChangeEvent;
+import mx.core.ScrollPolicy;
 
 	
 [DefaultProperty("viewport")]

    //
    //--------------------------------------------------------------------------
    
    override protected function partAdded(partName:String, instance:*):void
    {
    	super.partAdded(partName, instance);
    	if (instance == viewportHolder)
    	    installViewport();
    }   
        
    //--------------------------------------------------------------------------
    //
    // SkinParts
    //
    //--------------------------------------------------------------------------	
	
    [SkinPart]
    public var viewportHolder:Group;

    [SkinPart]
    public var verticalScrollBar:VScrollBar;
    
    [SkinPart]
    public var horizontalScrollBar:HScrollBar;
    	
}


    //--------------------------------------------------------------------------
    
    //----------------------------------
    //  horizontalScrollBar
    //---------------------------------- 
    
    [SkinPart]
    public var horizontalScrollBar:HScrollBar;
    
    //----------------------------------
    //  verticalScrollBar
    //---------------------------------- 
    
    [SkinPart]
    public var verticalScrollBar:VScrollBar;
    
    //----------------------------------
    //  viewport - default property
    //----------------------------------    
    
