Click to See Complete Forum and Search --> : ContentPane and it's Scrollbar - refresh my memory
dniezby
12-06-2006, 01:16 AM
Please refresh my memory on how to create a contentpane with a custom scrollbar.
It's been so long, I can't find any of my reference files.
w.brants
12-08-2006, 01:28 AM
Can you be a bit more specific about what you want ?
Usually you set the look of the scrollbar using the gui :confused:
dniezby
12-08-2006, 02:30 AM
No, I'm talking about creating a scrollbar with ActionScript.
I used to know how to create a contentpane and attach a scrollbar to it with action script alone. I thought I had it in my files but I can't find it.
w.brants
12-08-2006, 06:31 AM
A contentpane has a scrollbar by default.
Do you mean a dynamic textfield with a scrollbar ?
dniezby
12-08-2006, 10:35 AM
Yes, I know. What I'm talking about is changing the look of the scrollbar.
It's thickness, it's buttons and so forth. Not just it's colors as you can do with the UI.
I used to be able to do this. In fact, Necromancer uses custom scrollbar a lot. That's what I can't remember how to do.
w.brants
12-08-2006, 10:53 AM
Remus (Necromanthus) does not use the KoolMoves components; he uses his own code. The contentpane is not skinnable. You can change the color and bevel through actionscript but that's all. :confused:
dniezby
12-15-2006, 01:47 PM
A contentpane has a scrollbar by default.
Do you mean a dynamic textfield with a scrollbar ?
You can see an example of what I've been talking about by going to Koolexchange and CodeSnippet > Data Merge
And you see the pop up that appears, look at that. That is what I mean. See how the scrollbar is obviously, thinner than the API scrollbar.
w.brants
12-15-2006, 02:44 PM
That's the API scrollbar you are talking about.
When you create a slider, you can specify thin:true to create a thinner version.
example :attachMovie('KC8_Slider','slider',1,{_x:20, _y:20, length:100, c:[0xbfbfdf,0xefefff,0xefefff,0x6f6f9f], thin:true});
dniezby
12-16-2006, 12:04 AM
That's the API scrollbar you are talking about.
When you create a slider, you can specify thin:true to create a thinner version.
example :attachMovie('KC8_Slider','slider',1,{_x:20, _y:20, length:100, c:[0xbfbfdf,0xefefff,0xefefff,0x6f6f9f], thin:true});
Where can I learn more about this?
w.brants
12-16-2006, 01:16 AM
The easiest way is to ask. ;)
Maybe I should look again at the API docs for the KM 6.0 release and see if I can explain some more things.
ant_Z
12-16-2006, 06:15 AM
thats what i like in KM - 5.8 isnt yet released, and Wilbert is thinking bout 6 ;) this is called progress ;)
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.