<?xml version="1.0" encoding="iso-8859-1"?><rss version="2.0">
<channel><title><![CDATA[ActionScript.org Flash, Flex and ActionScript Resources - Comments for article: Scrolling a text box II]]></title><link>http://www.actionscript.org/resources</link><description /><language>en-us</language><copyright><![CDATA[http://www.actionscript.org/resources]]></copyright><generator>N/A</generator><webMaster>general.redirect@gmail.com</webMaster><lastBuildDate>Mon, 23 Nov 2009 07:25:27 CST</lastBuildDate><ttl>20</ttl><item><title><![CDATA[Comment #1]]></title><link>http://www.actionscript.org/resources/articles/110/1/Scrolling-a-text-box-II/Page1.html#Comment7875</link><description><![CDATA[you've got an error in the code provided:
function refreshScrollBar() {
        daTextBox.scroll = resetOnNewFile ? 1 : Math.min(daTextBox.maxscroll, daTextBox.scroll);
        var totalLines = numLines+daTextBox.maxscroll-1;
        scrollbar._yscale = 100*(numLines)/totalLines;
        deltaHeight = origHeight-scrollbar._height;
        lineHeight = deltaHeight/(daTextBox.maxScroll-1);
        updateScrollBarPos();
    }

second last line show "maxScroll" the s shouldnt be capped. Should be "maxscroll"

But tut was awsome thanks!<br/><br/>
(Comment posted by yosef at 9:02 pm, Thu 29th Nov 2007)]]></description><author>no@spam.com (yosef)</author><pubDate><![CDATA[Thu, 29 Nov 2007 21:02:40 CST]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/110/1/Scrolling-a-text-box-II/Page1.html#Comment7875</guid></item></channel></rss>