How to change the color of a ProgressBar component via AS3?

I created and added a progressbar component to the stage with actionscript 3.0.  However, I can not find a color property that I can use to change the color of the progressbar.  I am adding two progressbar components, whose color I would like to be different in order to distinguish between the two.  Can anyone provide any assistance
tflockAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tflockAuthor Commented:
THis is a duplicate question, but the answer is provided below:
OK, so you first have to create a new ProgressBarSkin in flash.  Just drag a prograssbar component over to the stage and in the library go into the ProgressBarSkins folder and duplicate the Progressbar_BarSkins movie symbo by right clicking on it.  Rename it to "MySkin."  Then change the color of the movie symbol to whatever you wish.  When done set the style of your progressbar as follows:

var myProgressBar:ProgressBar = new ProgressBar();
myProgressBar.setStyle("barSkin", MySkin);
addChild(myProgressBar);
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tflockAuthor Commented:
I have resolved the issue without any assistance.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.