         
         var oldVerticalScrollPosition:Number = _verticalScrollPosition;
         var newVerticalScrollPosition:Number =
-            _inputManager.verticalScrollPosition;
+            _textContainerManager.verticalScrollPosition;
+            
         if (newVerticalScrollPosition != oldVerticalScrollPosition)
         {
             //trace("vsp scroll", oldVerticalScrollPosition, "->", newVerticalScrollPosition);

            
            if (debug)
            	trace("hostFormat=");
            _inputManager.hostFormat =
            	hostFormat = new CSSTextLayoutFormat(this);
       			// Note: CSSTextLayoutFormat has special processing
        		// for the fontLookup style. If it is "auto",

        	
        	if (debug)
        		trace("setTextFlow()");
        	_textContainerManager.setTextFlow(textFlow);

            // Handle case where content is intially displayed as password.        	
        	if (displayAsPassword)
