A very big thank you to Valentino Tombesi for his fantastic Scrollbar Class.
In my efforts to build a simple Flash content management system, I wanted to create a much more dynamic version of his file. Something I could update server-side in an XML file. I actually only changed the way the text fields and data are created at runtime. I also added HTML formatting support. No changes were made to the ScrollBar.as ActionScript. I did, however, change some instance names to english for better understanding.
To better understand the use of XML with Flash, particularly the use of the CDATA node in my XML file, read the very useful Introduction to XML in Flash at kirupa.com
So here is the XML version of the Scrollbar Class:
(This file will open in Flash 8 and Flash CS3) (Preview File)
Get Source