         invalidateSkin();
     }
     
+    /**
+     *  Called when the viewport's horizontalScrollPosition changes; sets the 
+     *  horizontal scrollbar's value.
+     */
+    protected function viewportHorizontalScrollPositionChanged(event:PropertyChangeEvent):void
+    {
+       if (horizontalScrollBar)
+           horizontalScrollBar.value = viewport.horizontalScrollPosition;
+    }  
+    
+    /**
+     *  Called when the viewport's verticalScrollPosition changes; sets the 
+     *  vertical scrollbar's value.
+     */
+    protected function viewportVerticalScrollPositionChanged(event:PropertyChangeEvent):void
+    {
+       if (verticalScrollBar)
+           verticalScrollBar.value = viewport.verticalScrollPosition;
+    }   
+    
     //--------------------------------------------------------------------------
     //
     //  Overridden methods

 *  </p>
 */

public class Scroller extends SkinnableComponent
{
    include "../core/Version.as";
    

package flex.component
{
import flash.events.Event;
import flash.events.KeyboardEvent;
import flash.ui.Keyboard;
	
import flex.core.SkinnableComponent;
import flex.core.Group;
import flex.intf.IViewport;
import flex.layout.LayoutBase;

import mx.events.PropertyChangeEvent;
import mx.core.ScrollPolicy;
import mx.managers.IFocusManagerComponent;

	
[DefaultProperty("viewport")]
