Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 536357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:48:48+00:00 2026-05-13T09:48:48+00:00

Happy New Year 2010 everyone :) Just getting back into the Flash groove, and

  • 0

Happy New Year 2010 everyone 🙂 Just getting back into the Flash groove, and having a simple question.

I have a movie(video player) where the color of the buttons changes. I’ve already drawn out the buttons and created a 1 color box(movieClip) that will be the background of all the buttons.

I’ve used ColorTransform to change the color of a rectangle that I used code to create, but what is the simplest way to go about changing a color in a movieClip containing a graphic that you physically have drawn out.

Path to movieClip that I need to change the HEX value of: controls.btn_Sound.colorChip

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:48:48+00:00Added an answer on May 13, 2026 at 9:48 am

    If controls.btn_Sound.colorChip is a MovieClip or Sprite, you can use the drawing API to change its graphics properties.

    So instead of:

    colorChip=0xCCCCCC;
    btnColor_sound.color=colorChip;

    do this:

    controls.btn_Sound.colorChip.graphics.beginFill(colorChip, 1);
    controls.btn_Sound.colorChip.lineStyle(1, 0x000000);
    controls.btn_Sound.colorChip.drawRect(0, 0, 10, 10); // fill in this with your colorChip's dimensions
    controls.btn_Sound.colorChip.endFill()
    

    Thats a vey basic way to do it. You’ll probably want to clear it out each time you switch colors, and maybe modify the line style. Look up the Graphics class and the Drawing API in the AS3 docs, those should help clarify this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just started a new project and having had previous happy times with
Happy New Year Everyone! I have this existing php code I did when I
Happy New Year SO users! I have an issue that I hope someone can
Happy easters, everyone. I am currently learning topological sort and having a question about
first of all an Happy New Year to all :) I have found that
First of all-many season-greetings and a happy new year to all of you! Have
Hi guys and happy new year(2010). I'm a kind of novice in WPF's ListView.
Happy New Year. I have a bunch of SOAP Web Services. They all have
hope you all had a happy new year. So, my question is, what's the
Happy new year :) I have a Chrome extension which is a popup that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.