Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

customizing scrollbar in actionscript 2 list component

Posted on 2009-07-10
2
Medium Priority
?
976 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 1000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
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 Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
Suggested Courses

886 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