Lightweight Scrollbar Component
Free TextScroller. I was looking for free, lightweight scrollbar to use with
Flash Text Formatter. There are
quite a few out there but good ones are either part of commercial set or too
heavy(MM UIScrollBar), so I made my own. It is less then 4Kb compiled AS2
component, compatible with Flash Player 6, 7 and 8(8.5).
Getting basic
scrolling to work was quite easy, but polishing all of the details (fp6
compatibility, livePreview etc) took much more time. It scrolls textfields
horizontally and vertically. Check out the example:
To change the default skin just
insert library identifier name of the skin movieclip in component's parameters
panel. Skin movieclip should contain movieclips named as in image below.
And here
is Actionscript Reference List:
- autoHide:Boolean
- fixThumbAtEnd:Boolean
- targetTextField:Object
- orientation:Boolean (true for horizontal)
Methods:
- setSize( w:Number, h:Number )
Properties:
Download TextScroller Component. Unzip archive and install .mxp using Macromedia Extension Manager. The component will be available in "Choma" directory of Components Panel. Flash MX2004 or Flash 8 Required.