Custom scrollbar

im sure that this is one of those really simple questions, easy to answer, but i just cannot figure it out!

i did a search for ‘custom scrollbar’ before posting this, just to be sure… and i didnt find anything

my question is, how can one make a custom scrollbar… i need a dark dark grey thin one… plz help

thanks

The end of this tut shows you how to change the colors of your scrollbar.

http://www.kirupa.com/developer/mx/components2.htm

Of course, I also just made an octagon out of two boxes, I hope you have no idea what I"m talking about.
(-:

create two movieclips, mc1 and mc2, and have this script on their parent timeline:

mc1.onPress = function() {
        _root.onEnterFrame = function() {
                myTextfield.scroll --
        }
}
mc1.onRelease = function() {
        delete _root.onEnterFrame
}
/************************************/
mc2.onPress = function() {
        _root.onEnterFrame = function() {
                myTextfield.scroll ++
        }
}
mc2.onRelease = function() {
        delete _root.onEnterFrame
}

That’s for the scroll-up and scroll-down buttons. If you wanna have an actual draggable scroller, it’s a little bit more work. I know how it’s done but never tried making one. If you give me sometimes i might come up with something useful. :slight_smile:

Ahmed, could you be so kind as to explain how to create the draggable scroller that is normally placed between the up and down buttons. Sorry that I dragged up and old thread but I have been wondering how to do this for ages and would love to know :).

Thanks :thumb:,
JK.

And before anyone comes in here and gives me a flaming:

I have seached the forums and no, nobody actually explains it - either that or my search results didn’t pull up the right threads. I just couldn’t find it…

Could somebody please explain how to create a custom draggable scroller that is placed between the up and down buttons in a Flash scrollbar normally (and I mean without using the component - I’m talking about being able to do it with any shape in Flash via AS like you can with the up and down buttons).

ah, i missed this thread…

making a draggable once lies beyond my knowledge :frowning:
You will need to calculate the field’s height and the field’s maxscroll, and set the height of the bar accordingly

that’s all i can tell you, i really haven’t tried doing this before… :frowning:

eyes glaze over and brain enters hibernation of course. No worries. I know how to do that ;).

Hmm… well, the field’s height should be it’s height in Flash I would imagine. And then the maxscroll… I’m not sure about that one but will try to find out from the Help in Flash.

Don’t worry about it Ahmed and thankyou very much for even that, however, if you or anyone else does know how to do this, please post here and let us know. This is really bugging me :).

http://www.flashkit.com/tutorials/Interactivity/Creating-Patrick_-532/index.php
http://www.flashkit.com/tutorials/Interactivity/Actionsc-Patrick_-640/index.php

Ugh… Flash Kit. I don’t like Flash Kit but they appear to have the information on there so thanks no bone movie :thumb:.