# How to change a UI button component color

**URL:** <https://forum.kirupa.com/t/how-to-change-a-ui-button-component-color/310580>\
**Category:** Uncategorized\
**Created:** [June 14, 2010, 10:06am UTC](https://forum.kirupa.com/t/how-to-change-a-ui-button-component-color/310580 "2010-06-14T10:06:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FJO](https://avatars.discourse-cdn.com/v4/letter/f/d9b06d/32.png) [@FJO](https://forum.kirupa.com/u/FJO)\
**Post date:** [June 14, 2010, 10:06am UTC](https://forum.kirupa.com/t/how-to-change-a-ui-button-component-color/310580/1 "2010-06-14T10:06:33Z")

</div>

Hi everybody!!

I’m adding some Buttons (from the UI components) to the stage and I would like to change their background color using AS3.  
It might sound stupid but I can’t find how to achieve this anywhere, even in the flash AS3 documentation ☹

I hope somebody knows how to do it.

Thanks.
