So I have a dynamic text field that pulls content from an XML file. The XML is loaded once and as you navigate through the site, it pulls different nodes and displays them in the text field. The room for content is limited, so I have a custom scroll bar for the display.
Most of the copy is short enough to fit inside the text field without scrolling. When it does pull a node that is longer than the text area, Event.SCROLL is called, which fires a listener I have.
In other words, when it loads copy that is longer than the text field, it acts as if the text field has been scrolled. This is making it impossible to reset the text to “scrollV = 1” when new text is loaded into the text field.
Why in the world would it do this, and how can I reset “scrollV”. Simply setting “scrollV = 1” after I set “contentTxt.htmlText = some dynamic text” does absolutely nothing.