Solved

customizing scrollbar in actionscript 2 list component

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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 Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

740 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