Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

customizing scrollbar in actionscript 2 list component

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

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The goal of the tutorial is to teach the user how to how to record live broadcast.
Suggested Courses

721 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