Posts RSS Comments RSS 38 Posts and 67 Comments till now

Actionscript 3 scrollbar

I created this scrollbar some time back. I did not use it in a actual project yet but I think it should be useful for those who are doing websites in AS3. It is customizable with Tweener effects selection. It scrolls mainly movieclips, so as long as you convert your text or images to movieclips, you can scroll them. Here is the scrollbar source.

This movie requires Flash Player 9

5 Responses to “Actionscript 3 scrollbar”

  1. on 20 May 2008 at 4:41 pmAdam Bell

    Great scrollbar but do you have a simpler version that just uses the up and down arrow to scroll and nothing else? I’m trying to eliminate things in your .as file and delete the track and scroller objects in the .fla but then the up and down arrow buttons no longer work.

  2. on 20 May 2008 at 10:10 pmkinsung

    Hi Adam,

    Make the scroller and track invisible then delete this line to disable the scroller.
    scroller.addEventListener(MouseEvent.MOUSE_DOWN, dragScroll);

  3. on 16 Jul 2008 at 11:40 pmPaul

    What changes would you make to the AS file to make this work horizontally? Say I wanted the scrollbar to be along the bottom and it would scroll images or movie clips horizontally?

  4. on 04 Sep 2008 at 12:13 amTrevor Fischer

    Thanks for this! I’ve put this scrollbar into a project I’m doing and it worked great… until I added a pre-loader to the project and now I’m getting null reference errors regarding the scrollbar. Do you have any idea what might cause this to happen?

  5. on 04 Nov 2008 at 7:29 amBen

    I am using your scroll bar and its cool but when i make it 800×600 pixels and then i test it out it shows all of it but the scroll area is less than half of the page and i would like to fix that. Can you help me out with that. Thanks!

Trackback this post | Feed on Comments to this post

Leave a Reply

For spam filtering purposes, please copy the number 9886 to the field below: