Solved

customizing scrollbar in actionscript 2 list component

Posted on 2009-07-10
2
940 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
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

746 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now