Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

Closed Thread
Results 1 to 7 of 7
  1. #1

    Default customizing the scrollpane component

    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

  2. # ADS
    Join Date
    Always
    Posts
    Many
     
  3. #2
    Join Date
    May 2004
    Location
    U.S.A.
    Posts
    2,890

    Default

    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

  4. #3

    Default Not enough

    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?

  5. #4

    Default Modified Component

    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.

  6. #5

    Default modified component

    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?

  7. #6

    Default Skinning Component

    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

  8. #7

    Default impossible

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Sponsors
Create Speaking Characters for your website and Flash movies. 15 Day Free Trial