Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-05-2012, 10:18 PM   #1
yildiza
Registered User
 
Join Date: May 2012
Posts: 19
Exclamation [AS3] Progress Bar Color

Hi,

How can I change the color of a progressBar in ActionScript 3.0?

ActionScript Code:
var progressBar:ProgressBar = new ProgressBar(); progressBar.mode = ProgressBarMode.MANUAL; progressBar.setSize(200, 25); progressBar.move(750, 260); progressBar.rotation = -90; progressBar.setStyle("barPadding", 3); addChild(progressBar);

On Adobe Help page, it does not mention how to customize a progressBar using setStyle for AS 3.0.

Thank you for your help.
yildiza is offline   Reply With Quote
Old 05-06-2012, 02:54 AM   #2
abeall
Senior Member
 
Join Date: Feb 2006
Location: Washington, DC
Posts: 2,810
Send a message via AIM to abeall
Default

Did you try skinning it? Just double-click the progress bar component and edit the bar colors.
__________________
Aaron Beall | Flash portfolio | Fireworks extensions | Twitter
abeall is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:25 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.