I couldn't find any examples of fully-matured scrollbars in Flash
which accurately mirror the functionality of standard Windows and Mac
OS scrollbars, so I made my own. The scrollbar thumb's _yscale property is adjusted at load time. This allows its size — relative to the entire scrollbar size — to accurately reflect the percentage of total content currently viewable in the visible area. If you're not comfortable with masks and actionscript you may have a tough time incorporating this into your own movies. Also available: a find and replace function for ActionScript. Not sure why this isn't just a method of the String object (hint hint Macromedia). |
Feel free to examine/steal the source scroller.fla!