Hi,
Does anybody have a clue how to customize the scrollpane component scrollbar. I want to have the scrollbar without the arrow buttons. I have searched every flash tutorial, without finding any information how to do it.
/Frank
Hi,
Does anybody have a clue how to customize the scrollpane component scrollbar. I want to have the scrollbar without the arrow buttons. I have searched every flash tutorial, without finding any information how to do it.
/Frank
Hi,
Open the Actionscript panel and paste this...
ScrollPane
...highlight it with your mouse and select the help icon(?). It will show you every method available to the component. What your looking for in the help files is... Customizing the ScrollPane component. It allows for disableing the arrow part of the component but I believe it simply greys out the arrows as non functional instead of removing them. I am not certain as I rarely use built in components. Just shareing how to get info on manipulating the style property of the component.
hope it helps
NTD
A mind once stretched by a new idea never regains its original dimensions.
- Oliver Wendell Holmes
Unfortunatly that was not want i wanted, I would like to have a scrollbar associated with the scrollpane, that do not have any arrow buttons at all. If I choose to disable the buttons the scrollbar is also disabled.
I have tried to skin the scrollbar component, for all scrollbar states removing the scrollbar movieclip(making them empty). The result is no arrow buttons but the scroll do not go all the way up and down. Anybody have an idea why?
Yes, you can modify the scrollpane component but it will take some time.
- Open your project file.
- Find folder "Program Files\Macromedia\Flash 8\en\Configuration\ComponentFLA" and open HalloTheme.fla or SampleTheme.fla. Go to library panel; you will see "Flash UI Components 2" folder. Open this library folder and look for "ScrollBar Assets" folder.
- Open your project and copy the "ScrollBar Assets" folder from "HalloTheme.fla" (or "SampleTheme.fla") into your project file. Edit any symbol in the asset that you want to modify.
Ty, but that is exactly what I have tried, but it will not work.
What I tried was removing the graphics for the states concerning the arrow buttons, leaving them just empty movieclips, what is happening is that the buttons is gone but the slider do not go all the way down or up.
It seems like the skins for scrolbar are of fixed size, is that the case or what am I doing wrong?
I am curious too. So I go to Adobe, and try what they said about skinning component. I followed their step-by-step tutorial, but I failed to skin the component. I also tried to directly modify HaloTheme.fla and SampleTheme.fla (after made backups for them), but still no success. I guess I give up on the component. Better make my own.
Here is the link to Adobe, in case you haven't read it:
http://livedocs.adobe.com/flash/mx20...=00002768.html
I have spent some time now but none seems to have succeeded in removing the arrow key. Time to give up? It could have something to do with the fact they are buttons, I have had difficulties skinning buttons before , specially changing size in their graphics. Somebody knows how to subclass the Vscrollbar class for the scrollpane component? This might be the only way.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks