Solved

customizing scrollbar in actionscript 2 list component

Posted on 2009-07-10
2
957 Views
Last Modified: 2013-11-12
I have created a flash movie player in actionscript 2.0 using the list component.  The list contains the movie playlist.   I need to simply make the scrollbar in the list component darker.   Is there a style declaration that would allow me to at least darken the background color of the scroll track?  Perhaps something like this:

videoList.setStyle("scrollTrackColor", "0xCCCCCC");

( I tried this to no avail)  
Thanks in advance for any suggestions
0
Comment
Question by:deeholzman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 14

Accepted Solution

by:
TanLiHao earned 250 total points
ID: 24829997
It does not work with the default halo green theme. You have to import the sample theme and then this code will work.

I am assuming you are using Flash CS4. Follow the instructions here

http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001868.html

For step 2 you go to this folder C:\Program Files\Adobe\Adobe Flash CS4\Common\Configuration\Component Source\ActionScript 2.0\FLA and select the sampletheme.fla.

I have an example of this at this
Click me.
Yes the sample theme is rather ugly but that's the only thing that can change the scrollTrackColor directly.

Or You can do manual modifying of component sources too, see this page, http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00003078.html.
0
 

Author Closing Comment

by:deeholzman
ID: 31602088
Thanks for the answer - I modified the component sources manually as shown in the 2nd link you posted - very helpful for all flash components!
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question