|
|
|
#1 |
|
Senior Member
Join Date: Jul 2001
Location: Tinley Park, IL
Posts: 702
|
ContentPane and it's Scrollbar - refresh my memory
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.
__________________
My Sites: Gaming Site Nightshade Studios MyKM Tutorials ![]() -------------------------------------------------- What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Dec 2002
Location: Netherlands
Posts: 1,466
|
Can you be a bit more specific about what you want ?
Usually you set the look of the scrollbar using the gui
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jul 2001
Location: Tinley Park, IL
Posts: 702
|
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.
__________________
My Sites: Gaming Site Nightshade Studios MyKM Tutorials ![]() -------------------------------------------------- What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Dec 2002
Location: Netherlands
Posts: 1,466
|
A contentpane has a scrollbar by default.
Do you mean a dynamic textfield with a scrollbar ? |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Jul 2001
Location: Tinley Park, IL
Posts: 702
|
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.
__________________
My Sites: Gaming Site Nightshade Studios MyKM Tutorials ![]() -------------------------------------------------- What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Dec 2002
Location: Netherlands
Posts: 1,466
|
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.
|
|
|
|
|
|
#7 | |
|
Senior Member
Join Date: Jul 2001
Location: Tinley Park, IL
Posts: 702
|
Quote:
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.
__________________
My Sites: Gaming Site Nightshade Studios MyKM Tutorials ![]() -------------------------------------------------- What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape |
|
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Dec 2002
Location: Netherlands
Posts: 1,466
|
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 : Code:
attachMovie('KC8_Slider','slider',1,{_x:20, _y:20, length:100, c:[0xbfbfdf,0xefefff,0xefefff,0x6f6f9f], thin:true});
|
|
|
|
|
|
#9 | |
|
Senior Member
Join Date: Jul 2001
Location: Tinley Park, IL
Posts: 702
|
Quote:
Where can I learn more about this?
__________________
My Sites: Gaming Site Nightshade Studios MyKM Tutorials ![]() -------------------------------------------------- What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape |
|
|
|
|
|
|
#10 |
|
Senior Member
Join Date: Dec 2002
Location: Netherlands
Posts: 1,466
|
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. |
|
|
|
|
|
#11 |
|
Polak Maly
Join Date: Jul 2006
Location: Poland
Posts: 438
|
thats what i like in KM - 5.8 isnt yet released, and Wilbert is thinking bout 6
this is called progress
|
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|